mirror of
https://github.com/anope/anope.git
synced 2026-06-30 08:36:38 +02:00
Actually use readtimeout from the config & fixed many valgrind errors
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2905 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+1
-1
@@ -371,7 +371,7 @@ void SocketEngine::Process()
|
||||
fd_set rfdset = ReadFDs, wfdset = WriteFDs, efdset = ReadFDs;
|
||||
timeval tval;
|
||||
|
||||
tval.tv_sec = 10;
|
||||
tval.tv_sec = Config.ReadTimeout;
|
||||
tval.tv_usec = 0;
|
||||
|
||||
int sresult = select(MaxFD + 1, &rfdset, &wfdset, &efdset, &tval);
|
||||
|
||||
Reference in New Issue
Block a user