diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-26 15:19:55 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-26 15:19:55 +0000 |
commit | e218811ca39bb9f81f2dab45f66e1d50ff7f88ec (patch) | |
tree | 49ac5532326460c7538498277fcf7d2c326f2fde | |
parent | a9f2274bd8e027465386b227b47156468e477146 (diff) |
made the verbose connect use the proper host name string even when using
a proxy
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); } /* |