]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
examples/crawler: fix variable
authorDaniel Stenberg <daniel@haxx.se>
Mon, 10 Nov 2025 12:17:37 +0000 (13:17 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 10 Nov 2025 12:40:13 +0000 (13:40 +0100)
A variable missed in the previous rename cleanup

Follow-up to 928363f28ca533d743adcb70597c3e30917
Reported-by: Gisle Vanem
Closes #19446

docs/examples/crawler.c

index c56ad5ab3c8e5a83e36d6547684cf97d33acbb6c..4812a67d142649092f18b3e5250aee848f4231db 100644 (file)
@@ -232,7 +232,7 @@ int main(void)
               if(is_html(ctype) && mem->size > 100) {
                 if(pending < max_requests &&
                    (complete + pending) < max_total) {
-                  pending += follow_links(multi_curl, mem, url);
+                  pending += follow_links(multi, mem, url);
                   still_running = 1;
                 }
               }