From: Daniel Stenberg Date: Mon, 26 Apr 2004 15:19:55 +0000 (+0000) Subject: made the verbose connect use the proper host name string even when using X-Git-Tag: curl-7_12_0~270 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e218811ca39bb9f81f2dab45f66e1d50ff7f88ec;p=thirdparty%2Fcurl.git made the verbose connect use the proper host name string even when using a proxy --- diff --git a/lib/url.c b/lib/url.c index fec12c22af..695d374bfd 100644 --- a/lib/url.c +++ b/lib/url.c @@ -1906,7 +1906,8 @@ static void verboseconnect(struct connectdata *conn) host = Curl_inet_ntop(AF_INET, &in, addrbuf, sizeof(addrbuf)); #endif infof(data, "Connected to %s (%s) port %d\n", - conn->hostname, host?host:"", conn->port); + conn->bits.httpproxy?conn->proxyhost:conn->hostname, + host?host:"", conn->port); } /*