X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=37b9872451e703fba363ff5cc0bb41d71ab0d723;hp=24de9bb8f9d58a8d03329503ca00d54f97298fa7;hb=b7a8c6d3f5d6555f323523c3b87507eebc1df3eb;hpb=28293eafd09e41d1cea22ebea291e669c7a8e8d9 diff --git a/src/http.c b/src/http.c index 24de9bb8..37b98724 100644 --- a/src/http.c +++ b/src/http.c @@ -1223,7 +1223,7 @@ The sizes do not match (local %ld) -- retrieving.\n"), local_size); tms, u->url, hstat.len, hstat.contlen, locf, count); } ++opt.numurls; - opt.downloaded += hstat.len; + downloaded_increase (hstat.len); /* Remember that we downloaded the file for later ".orig" code. */ if (*dt & ADDED_HTML_EXTENSION) @@ -1249,7 +1249,7 @@ The sizes do not match (local %ld) -- retrieving.\n"), local_size); tms, u->url, hstat.len, locf, count); } ++opt.numurls; - opt.downloaded += hstat.len; + downloaded_increase (hstat.len); /* Remember that we downloaded the file for later ".orig" code. */ if (*dt & ADDED_HTML_EXTENSION) @@ -1278,7 +1278,7 @@ The sizes do not match (local %ld) -- retrieving.\n"), local_size); "%s URL:%s [%ld/%ld] -> \"%s\" [%d]\n", tms, u->url, hstat.len, hstat.contlen, locf, count); ++opt.numurls; - opt.downloaded += hstat.len; + downloaded_increase (hstat.len); /* Remember that we downloaded the file for later ".orig" code. */ if (*dt & ADDED_HTML_EXTENSION)