]> granicus.if.org Git - curl/commitdiff
singleipconnect: show port in the verbose "Trying ..." message
authorDaniel Stenberg <daniel@haxx.se>
Thu, 11 Apr 2019 06:43:33 +0000 (08:43 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 13 Apr 2019 09:21:25 +0000 (11:21 +0200)
To aid debugging better.

lib/connect.c

index a53d79c214bc5fbd4c2bea5ebe16110cc54c5fe4..e2d31a9b3cf226ddeb81060270b2736f6de0deab 100644 (file)
@@ -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) &&