aboutsummaryrefslogtreecommitdiff
path: root/src/Sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Sockets.c')
-rw-r--r--src/Sockets.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Sockets.c b/src/Sockets.c
index 8ec9f46..42b06d1 100644
--- a/src/Sockets.c
+++ b/src/Sockets.c
@@ -149,8 +149,7 @@ int HTTP_SetupServer(int port, int queue_size, int hunt)
sock = Socket_TCPOpenServerSocket (port, hunt ? &realport : NULL, queue_size);
if (sock == INVALID_SOCKET)
{
- fprintf (stderr, "Failed to create server socket\n");
- exit (EXIT_FAILURE);
+ CCTK_WARN (0, "HTTPD Failed to create server socket\n");
}
Util_GetHostName(hostname, sizeof(hostname));