mirror of
https://github.com/moparisthebest/curl
synced 2024-12-25 01:28:51 -05:00
singleipconnect: show port in the verbose "Trying ..." message
To aid debugging better.
This commit is contained in:
parent
c3e38a4250
commit
4f463da6b5
@ -1028,7 +1028,7 @@ static CURLcode singleipconnect(struct connectdata *conn,
|
|||||||
Curl_closesocket(conn, sockfd);
|
Curl_closesocket(conn, sockfd);
|
||||||
return CURLE_OK;
|
return CURLE_OK;
|
||||||
}
|
}
|
||||||
infof(data, " Trying %s...\n", ipaddress);
|
infof(data, " Trying %s:%ld...\n", ipaddress, port);
|
||||||
|
|
||||||
#ifdef ENABLE_IPV6
|
#ifdef ENABLE_IPV6
|
||||||
is_tcp = (addr.family == AF_INET || addr.family == AF_INET6) &&
|
is_tcp = (addr.family == AF_INET || addr.family == AF_INET6) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user