mirror of
https://github.com/curl/curl.git
synced 2026-07-06 07:07:17 +03:00
Update error message to include port number
This commit is contained in:
parent
aae97c998a
commit
1103d0c718
1 changed files with 2 additions and 1 deletions
|
|
@ -758,7 +758,8 @@ static curl_socket_t sockdaemon(curl_socket_t sock,
|
|||
#endif /* ENABLE_IPV6 */
|
||||
if(rc) {
|
||||
error = SOCKERRNO;
|
||||
logmsg("Error binding socket: (%d) %s", error, strerror(error));
|
||||
logmsg("Error binding socket on port %hu: (%d) %s",
|
||||
*listenport, error, strerror(error));
|
||||
sclose(sock);
|
||||
return CURL_SOCKET_BAD;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue