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:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user