From 1103d0c71873fc40957618be4d851efa5019f7fe Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 10 Jan 2010 04:24:46 +0000 Subject: Update error message to include port number --- tests/server/sockfilt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3