]> Nishi Git Mirror - tewi.git/commitdiff
fix select
authorNishi <nishi@nishi.boats>
Thu, 19 Sep 2024 13:19:18 +0000 (13:19 +0000)
committerNishi <nishi@nishi.boats>
Thu, 19 Sep 2024 13:19:18 +0000 (13:19 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@96 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/server.c

index cd7a2d5cbfca451c6bd02e00b6bbeed3e3ca0452..aa5b4ac6d72783362c33695047c73262c49b0809 100644 (file)
@@ -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