X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fhttp.c;h=d4ee74c063f871f3f6480408f0279447ad50e66b;hb=90cb3309da2d5eaa65f5477bd45b30d2d18996db;hp=f683b628a6c1e401f7e5af338d03d37aecc7a2c5;hpb=dd6e9914e68bce967f192466ff4813a8781c13cc;p=wget diff --git a/src/http.c b/src/http.c index f683b628..d4ee74c0 100644 --- a/src/http.c +++ b/src/http.c @@ -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;