From: Daniel Stenberg Date: Thu, 11 Apr 2019 06:43:33 +0000 (+0200) Subject: singleipconnect: show port in the verbose "Trying ..." message X-Git-Tag: curl-7_65_0~146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f463da6b5f93c586f1e5b40e7b27a3800baf7e5;p=curl singleipconnect: show port in the verbose "Trying ..." message To aid debugging better. --- 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) &&