diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-11-25 19:39:32 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-11-25 19:39:32 +0000 |
commit | 4783307727d83aee3cd8d746618dce5266188e0f (patch) | |
tree | b79ded4ef4cc162916713aa0ba315a94f7b4224e /test/src/server.c | |
parent | 3af849e2045f7c580d4c533d829dc9d567162d36 (diff) | |
parent | 625667b6b6463db6344b5f10eb9dbf01e231573e (diff) |
Merge branch 'master' into 4.next
Diffstat (limited to 'test/src/server.c')
-rw-r--r-- | test/src/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/server.c b/test/src/server.c index 5af86d96f..d433ebe0e 100644 --- a/test/src/server.c +++ b/test/src/server.c @@ -401,7 +401,7 @@ else sin6.sin6_addr = anyaddr6; if (bind(listen_socket[i], (struct sockaddr *)&sin6, sizeof(sin6)) < 0) { - printf("IPv6 socket bind() failed: %s\n", strerror(errno)); + printf("IPv6 socket bind(port %d) failed: %s\n", port, strerror(errno)); exit(1); } } @@ -420,7 +420,7 @@ else if (bind(listen_socket[i], (struct sockaddr *)&sin4, sizeof(sin4)) < 0) if (listen_socket[v6n] < 0 || errno != EADDRINUSE) { - printf("IPv4 socket bind() failed: %s\n", strerror(errno)); + printf("IPv4 socket bind(port %d) failed: %s\n", port, strerror(errno)); exit(1); } else |