From: Nishi Date: Thu, 19 Sep 2024 13:19:18 +0000 (+0000) Subject: fix select X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=bad9d5ae3af6a32a307b0d80ba35006840077217;p=tewi.git fix select git-svn-id: file:///raid/svn-personal/tewi/trunk@96 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Server/server.c b/Server/server.c index cd7a2d5..aa5b4ac 100644 --- a/Server/server.c +++ b/Server/server.c @@ -832,7 +832,7 @@ void tw_server_loop(void) { for(j = 0; j < sockcount; j++) close_socket(sockets[j]); tw_server_pass(sock, config.ports[i] & (1ULL << 32), config.ports[i], claddr); #ifdef __HAIKU__ - while(1); + exit(0); #else _exit(0); #endif