X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=c3ec2e0d976a3d1d023002ea28560701013d9e53;hp=577781cc139b99d003a7812aca19d58550224d10;hb=aca9f566b66c287a5eb4b32ade7140df16b6050e;hpb=e16bd204744119e70041a1165438a8c19a86b471 diff --git a/src/http.c b/src/http.c index 577781cc..c3ec2e0d 100644 --- a/src/http.c +++ b/src/http.c @@ -3029,7 +3029,7 @@ Remote file exists.\n\n")); hstat.local_file, count); } ++numurls; - total_downloaded_bytes += hstat.len; + total_downloaded_bytes += hstat.rd_size; /* Remember that we downloaded the file for later ".orig" code. */ if (*dt & ADDED_HTML_EXTENSION) @@ -3062,7 +3062,7 @@ Remote file exists.\n\n")); hstat.local_file, count); } ++numurls; - total_downloaded_bytes += hstat.len; + total_downloaded_bytes += hstat.rd_size; /* Remember that we downloaded the file for later ".orig" code. */ if (*dt & ADDED_HTML_EXTENSION)