mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
added port number in informational connect message
This commit is contained in:
parent
ced8955325
commit
dd02881788
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user