mirror of
https://github.com/curl/curl.git
synced 2026-04-19 18:01:15 +03:00
made the verbose connect use the proper host name string even when using
a proxy
This commit is contained in:
parent
a9f2274bd8
commit
e218811ca3
1 changed files with 2 additions and 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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue