made the verbose connect use the proper host name string even when using

a proxy
This commit is contained in:
Daniel Stenberg
2004-04-26 15:19:55 +00:00
parent a9f2274bd8
commit e218811ca3

View File

@@ -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);
}
/*