fix select
git-svn-id: file:///raid/svn-personal/tewi/trunk@96 8739d7e6-ffea-ec47-b151-bdff447c6205
This commit is contained in:
parent
563949c1a9
commit
bad9d5ae3a
|
@ -832,7 +832,7 @@ void tw_server_loop(void) {
|
||||||
for(j = 0; j < sockcount; j++) close_socket(sockets[j]);
|
for(j = 0; j < sockcount; j++) close_socket(sockets[j]);
|
||||||
tw_server_pass(sock, config.ports[i] & (1ULL << 32), config.ports[i], claddr);
|
tw_server_pass(sock, config.ports[i] & (1ULL << 32), config.ports[i], claddr);
|
||||||
#ifdef __HAIKU__
|
#ifdef __HAIKU__
|
||||||
while(1);
|
exit(0);
|
||||||
#else
|
#else
|
||||||
_exit(0);
|
_exit(0);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user