X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=9ed226cb9d1062ad0d65c0642d28790f54853788;hp=99c9be6fb8c64af74ef1cdbb2360666b06cb97d1;hb=78a765739543d5ca3bc83ad70f5d391b9d2af4f5;hpb=0fa023cfffc896d72ba36a8789154630e585435a diff --git a/src/http.c b/src/http.c index 99c9be6f..9ed226cb 100644 --- a/src/http.c +++ b/src/http.c @@ -142,6 +142,8 @@ struct request { int hcount, hcapacity; }; +extern int numurls; + /* Create a new, empty request. At least request_set_method must be called before the request can be used. */ @@ -2778,7 +2780,7 @@ Remote file exists.\n\n")); number_to_static_string (hstat.contlen), hstat.local_file, count); } - ++opt.numurls; + ++numurls; total_downloaded_bytes += hstat.len; /* Remember that we downloaded the file for later ".orig" code. */ @@ -2806,7 +2808,7 @@ Remote file exists.\n\n")); tms, u->url, number_to_static_string (hstat.len), hstat.local_file, count); } - ++opt.numurls; + ++numurls; total_downloaded_bytes += hstat.len; /* Remember that we downloaded the file for later ".orig" code. */