summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-04-11 08:43:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-04-12 13:42:50 +0200
commitbfdee5e3d0cc10bcbf9a83af6a6bfd77a9266e80 (patch)
treeb0abf6c14475a2711101094b92dc8540095fed32
parent60034228255894fcea57950b3b39bfe6f5fca580 (diff)
downloadcurl-bfdee5e3d0cc10bcbf9a83af6a6bfd77a9266e80.tar.gz
singleipconnect: show port in the verbose "Trying ..." message
To aid debugging better.
-rw-r--r--lib/connect.c2
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) &&