diff -upr wget-1.12/src/http.c src/http.c
--- src/http.c	2009-09-22 08:32:18.000000000 +0530
+++ src/http.c	2010-06-10 15:20:45.000000000 +0530
@@ -1299,6 +1299,7 @@ struct http_stat
   wgint len;                    /* received length */
   wgint contlen;                /* expected length */
   wgint restval;                /* the restart value */
+  wgint resumelen;              /* Resumed from */
   int res;                      /* the result of last read */
   char *rderrmsg;               /* error message from read error */
   char *newloc;                 /* new location (redirection) */
@@ -1462,6 +1463,7 @@ gethttp (struct url *u, struct http_stat
   /* Initialize certain elements of struct http_stat.  */
   hs->len = 0;
   hs->contlen = -1;
+  hs->resumelen = 0;
   hs->res = -1;
   hs->rderrmsg = NULL;
   hs->newloc = NULL;
@@ -2256,6 +2258,7 @@ File %s already there; not retrieving.\n
                   else
                     logprintf (LOG_VERBOSE, _(", %s remaining"),
                                number_to_static_string (contlen));
+                  hs->resumelen = contlen;
                 }
             }
           else
@@ -2848,7 +2851,7 @@ Remote file exists.\n\n"));
                          hstat.local_file, count);
             }
           ++numurls;
-          total_downloaded_bytes += hstat.len;
+          total_downloaded_bytes += hstat.resumelen;
 
           /* Remember that we downloaded the file for later ".orig" code. */
           if (*dt & ADDED_HTML_EXTENSION)
