1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 09:36:38 +02:00
This commit is contained in:
Adam
2011-11-08 17:29:16 -05:00
parent 97b9055f92
commit b5ff856f47
85 changed files with 1277 additions and 1278 deletions
+6 -1
View File
@@ -1,5 +1,10 @@
#include "module.h"
#ifdef _AIX
# undef FD_ZERO
# define FD_ZERO(p) memset((p), 0, sizeof(*(p)))
#endif /* _AIX */
static int MaxFD;
static unsigned FDCount;
static fd_set ReadFDs;
@@ -77,7 +82,7 @@ void SocketEngine::Process()
*/
if (FDCount == 0)
{
sleep(Config->ReadTimeout);
sleep(tval.tv_sec);
return;
}
#endif