made the verbose connect use the proper host name string even when using
a proxy
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user