diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-04-11 08:43:33 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-04-13 11:21:25 +0200 |
commit | 4f463da6b5f93c586f1e5b40e7b27a3800baf7e5 (patch) | |
tree | 9dac5bde6853cdde950b65f069242101867ab9cd | |
parent | c3e38a4250d5f21a9189c3fdbbe45fbb71242184 (diff) | |
download | curl-4f463da6b5f93c586f1e5b40e7b27a3800baf7e5.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) && |