]> sjero.net Git - wget/blobdiff - src/main.c
Initialize `total_downloaded_bytes'.
[wget] / src / main.c
index a583bac4cf771bc2b5756abf9bf5fad60abc78f5..50eed4794e81b450320185c4b099239382c809e5 100644 (file)
@@ -877,6 +877,8 @@ main (int argc, char **argv)
   int nurl;
   bool append_to_log = false;
 
+  total_downloaded_bytes = 0;
+
   program_name = argv[0];
 
   struct ptimer *timer = ptimer_new ();