X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=33b9a53c46af12ea1f49b9aa21c8edc38957660f;hp=cd0dba85ea73be5cc8cf230606e1cf485647b3a5;hb=d8c11a82ca9e8fab6689b53dc12199da4cc6058d;hpb=c7f74c62d3e518387a8eaa51011ec83259440105 diff --git a/src/http.c b/src/http.c index cd0dba85..33b9a53c 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. */ @@ -2764,7 +2766,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. */ @@ -2792,7 +2794,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. */