]> sjero.net Git - wget/blobdiff - src/main.c
Correct iri handling while fetching a remote file list with -i and provide a test
[wget] / src / main.c
index 799e5d63b60d7e6c59f480ca6b9810115351788f..8d8d93fa0e1e24420c21a16378eedcf5511a3568 100644 (file)
@@ -43,9 +43,6 @@ as that of the covered work.  */
 #include <assert.h>
 #include <errno.h>
 #include <time.h>
-#ifdef ENABLE_IRI
-#include <langinfo.h>
-#endif
 
 #include "utils.h"
 #include "init.h"
@@ -1199,7 +1196,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;
         }