mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08: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);
|
||||
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) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user