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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);
}

/*