diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-04-11 08:43:33 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-04-12 13:42:50 +0200 |
commit | bfdee5e3d0cc10bcbf9a83af6a6bfd77a9266e80 (patch) | |
tree | b0abf6c14475a2711101094b92dc8540095fed32 | |
parent | 60034228255894fcea57950b3b39bfe6f5fca580 (diff) | |
download | curl-bfdee5e3d0cc10bcbf9a83af6a6bfd77a9266e80.tar.gz |
singleipconnect: show port in the verbose "Trying ..." message
To aid debugging better.
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index a53d79c21..e2d31a9b3 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -1028,7 +1028,7 @@ static CURLcode singleipconnect(struct connectdata *conn, Curl_closesocket(conn, sockfd); return CURLE_OK; } - infof(data, " Trying %s...\n", ipaddress); + infof(data, " Trying %s:%ld...\n", ipaddress, port); #ifdef ENABLE_IPV6 is_tcp = (addr.family == AF_INET || addr.family == AF_INET6) && |