summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-09 17:19:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-09 17:19:19 +0000
commitffe9c0d68503ecf6d69e948b9d9fb667d42f3a74 (patch)
treeccb9ba5fa204f217ba76c2534d0f51aece89c914 /src
parent01e3a0238c4df80a0ebc917f99a2f6f1378019f9 (diff)
more fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@476 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp8
1 files changed, 5 insertions, 3 deletions
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");