1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 19:53:12 +02:00

SocketLoop become general io loop function for *nix too.

This commit is contained in:
darkelf
2006-08-09 13:26:23 +00:00
parent 3d40229700
commit e884446871
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -1281,3 +1281,4 @@
- Removed old poll code from s_bsd.c and s_debug.c also do_client_queue function
from s_bsd.c
- Removed old set_blocking function from s_bsd.c
- SocketLoop is become general IO loop for *nix too.
+4 -1
View File
@@ -1471,6 +1471,9 @@ int InitwIRCD(int argc, char *argv[])
#ifdef _WIN32
return 1;
#else
SocketLoop(NULL);
#endif
}
@@ -1483,7 +1486,7 @@ void SocketLoop(void *dummy)
TS nextfdlistcheck = 0; /*end of priority code */
#endif
#ifdef _WIN32
while (1)
#else
nextping = timeofday;