aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/server/sockfilt.c3
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;
}