From 4f463da6b5f93c586f1e5b40e7b27a3800baf7e5 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 11 Apr 2019 08:43:33 +0200 Subject: [PATCH] singleipconnect: show port in the verbose "Trying ..." message To aid debugging better. --- lib/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) && -- 2.40.0