diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-10-02 12:51:15 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-10-02 12:51:15 +0000 |
commit | dd028817884ca3262ae4e136332a7fdf469787e9 (patch) | |
tree | b6e1c993c8d3db73844add57153b3061749825ed /lib | |
parent | ced89553250030849a9896dae1d446c5ccf1ac3c (diff) |
added port number in informational connect message
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |