1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 11:35:07 -05:00

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

To aid debugging better.
This commit is contained in:
Daniel Stenberg 2019-04-11 08:43:33 +02:00
parent c3e38a4250
commit 4f463da6b5
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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) &&