From ffe9c0d68503ecf6d69e948b9d9fb667d42f3a74 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 9 Apr 2004 17:19:19 +0000 Subject: more fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@476 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 51947e5d7..68cf96d8a 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -5564,8 +5564,10 @@ int InspIRCd(void) // *FIX* Instead of closing sockets in kill_link when they receive the ERROR :blah line, we should queue // them in a list, then reap the list every second or so. - if (reap_counter>5000) { - if (fd_reap.size() > 0) { + if (reap_counter>5000) + { + if (fd_reap.size() > 0) + { for( int n = 0; n < fd_reap.size(); n++) { Blocking(fd_reap[n]); @@ -5594,7 +5596,6 @@ int InspIRCd(void) // link packets can manipulate the usertable so beware of // any loops here watching the user or channels hash log(DEBUG,"Sync: exit 3"); - goto label; } } } @@ -5683,6 +5684,7 @@ int InspIRCd(void) if (result) { + log(DEBUG,"Read %d characters from socket",result); userrec* current = count2a->second; int currfd = current->fd; char* l = strtok(data,"\n"); -- cgit v1.2.3