Skip to content
Permalink
Browse files

singleipconnect: show port in the verbose "Trying ..." message

To aid debugging better.
  • Loading branch information...
bagder committed Apr 11, 2019
1 parent c3e38a4 commit 4f463da6b5f93c586f1e5b40e7b27a3800baf7e5
Showing with 1 addition and 1 deletion.
  1. +1 −1 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) &&

0 comments on commit 4f463da

Please sign in to comment.
You can’t perform that action at this time.