]> sjero.net Git - wget/blobdiff - src/init.c
Set an initial value for IRIs options and some minor additions in iri.c
[wget] / src / init.c
index a7a4ee01e5eda918aaeba5eb97ccec9d103a1722..f56aa65282c94f46a7469eb92cce3a504f9197ad 100644 (file)
@@ -333,6 +333,14 @@ defaults (void)
   opt.restrict_files_case = restrict_no_case_restriction;
 
   opt.max_redirect = 20;
+
+#ifdef ENABLE_IRI
+  opt.enable_iri = true;
+#else
+  opt.enable_iri = false;
+#endif
+  opt.locale = NULL;
+  opt.encoding_remote = NULL;
 }
 \f
 /* Return the user's home directory (strdup-ed), or NULL if none is