1
0
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:
Adam-
2010-04-22 19:40:58 +00:00
parent 752e87a9f0
commit 531cba9251
5 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -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);