]> sjero.net Git - wget/blobdiff - src/main.c
Removed commented *printf and use quote_n() for quoting several args
[wget] / src / main.c
index ef01b1bdc1a954da4f1a5c60ff31065d98aa2614..414b62bc30995ea03a8cc5349bfd778478690df0 100644 (file)
@@ -1076,8 +1076,6 @@ for details.\n\n"));
 
       if (opt.encoding_remote && !check_encoding_name (opt.encoding_remote))
         opt.encoding_remote = NULL;
-
-      /*logprintf (LOG_VERBOSE, "Locale = %s\n", quote (opt.locale));*/
     }
 #else
   if (opt.enable_iri || opt.locale || opt.encoding_remote)
@@ -1200,7 +1198,7 @@ WARNING: Can't reopen standard output in binary mode;\n\
           if (url_scheme (*t) == SCHEME_FTP)
             opt.follow_ftp = 1;
 
-          status = retrieve_tree (*t);
+          status = retrieve_tree (*t, NULL);
 
           opt.follow_ftp = old_follow_ftp;
         }
@@ -1273,9 +1271,6 @@ WARNING: Can't reopen standard output in binary mode;\n\
     xfree (url[i]);
   cleanup ();
 
-#ifdef DEBUG_MALLOC
-  print_malloc_debug_stats ();
-#endif
   if (status == RETROK)
     return 0;
   else