diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-10 04:24:46 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-10 04:24:46 +0000 |
commit | 1103d0c71873fc40957618be4d851efa5019f7fe (patch) | |
tree | c5500145de066b4fba695c5f655c370b657f043c /tests | |
parent | aae97c998a07bdc1245ac245ec31ba64c8abd23f (diff) |
Update error message to include port number
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server/sockfilt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index cad48603a..7964ce929 100644 --- a/tests/server/sockfilt.c +++ b/tests/server/sockfilt.c @@ -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; } |