diff --git a/lib/url.c b/lib/url.c index bc4ae3b2cc5b50ba164aa25232e52c720e4c5978..198170dce99ba67be619fbb3851e9f2c0df731a5 100644 --- a/lib/url.c +++ b/lib/url.c @@ -2047,9 +2047,10 @@ static CURLcode CreateConnection(struct SessionHandle *data, snprintf(hbuf, sizeof(hbuf), "?"); } if (ai->ai_canonname) { - infof(data, "Connected to %s (%s)\n", ai->ai_canonname, hbuf); + infof(data, "Connected to %s (%s) port %d\n", ai->ai_canonname, hbuf, + conn->port); } else { - infof(data, "Connected to %s\n", hbuf); + infof(data, "Connected to %s port %d\n", hbuf, conn->port); } } #else