X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=02988d20185c1b7316b026d0b05b7049434ca6f8;hp=fa2d5ed237a972c15a35911464593f0264833b69;hb=4759cf099f7bc07e47075a0e962e4999b2ad429e;hpb=e1df67a4f09d4fa86729e71b6e6ceb53c4f0b52b diff --git a/src/http.c b/src/http.c index fa2d5ed2..02988d20 100644 --- a/src/http.c +++ b/src/http.c @@ -1962,11 +1962,13 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy, int family = socket_family (pconn.socket, ENDPOINT_PEER); sock = pconn.socket; using_ssl = pconn.ssl; +#if ENABLE_IPV6 if (family == AF_INET6) logprintf (LOG_VERBOSE, _("Reusing existing connection to [%s]:%d.\n"), quotearg_style (escape_quoting_style, pconn.host), pconn.port); else +#endif logprintf (LOG_VERBOSE, _("Reusing existing connection to %s:%d.\n"), quotearg_style (escape_quoting_style, pconn.host), pconn.port);