Skip to content
Snippets Groups Projects
Commit e218811c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

a proxy
parent a9f2274b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment