From e218811ca39bb9f81f2dab45f66e1d50ff7f88ec Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 26 Apr 2004 15:19:55 +0000 Subject: made the verbose connect use the proper host name string even when using a proxy --- lib/url.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/url.c b/lib/url.c index fec12c22a..695d374bf 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); } /* -- cgit v1.2.3