aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c3
1 files changed, 2 insertions, 1 deletions
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);
}
/*