]> sjero.net Git - wget/blobdiff - src/http.c
[svn] Imported Mauro's IPv6 changes.
[wget] / src / http.c
index f683b628a6c1e401f7e5af338d03d37aecc7a2c5..d4ee74c063f871f3f6480408f0279447ad50e66b 100644 (file)
@@ -441,7 +441,7 @@ register_persistent (const char *host, unsigned short port, int fd)
 
   /* This lookup_host cannot fail, because it has the results in the
      cache.  */
-  pc_last_host_ip = lookup_host (host, 1);
+  pc_last_host_ip = lookup_host (host, LH_SILENT);
   assert (pc_last_host_ip != NULL);
 
   pc_last_port = port;
@@ -496,7 +496,7 @@ persistent_available_p (const char *host, unsigned short port)
     return 0;
 #endif /* HAVE_SSL */
 
-  this_host_ip = lookup_host (host, 1);
+  this_host_ip = lookup_host (host, LH_SILENT);
   if (!this_host_ip)
     return 0;