summaryrefslogtreecommitdiff
path: root/lib/connect.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-04-11 08:43:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-04-13 11:21:25 +0200
commit4f463da6b5f93c586f1e5b40e7b27a3800baf7e5 (patch)
tree9dac5bde6853cdde950b65f069242101867ab9cd /lib/connect.c
parentc3e38a4250d5f21a9189c3fdbbe45fbb71242184 (diff)
downloadcurl-4f463da6b5f93c586f1e5b40e7b27a3800baf7e5.tar.gz
singleipconnect: show port in the verbose "Trying ..." message
To aid debugging better.
Diffstat (limited to 'lib/connect.c')
-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) &&