summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-19 21:54:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-19 21:54:45 +0000
commit8516fe8689952df3eb2e4b7a01ef4f640940fd03 (patch)
tree1ae799afd244561065ce76fc33371d76fa3d296e /src
parentf331d502c001b6a394599c319d197505c91a71f1 (diff)
random crash fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1455 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 3de9ede89..e5d463008 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -3253,10 +3253,7 @@ int InspIRCd(char** argv, int argc)
}
}
-#ifndef IS_SOLARIS
- if ((currfd < 0) || (!fd_ref_table[currfd]))
-#endif
- goto label;
+ goto label;
}
if ((result == -1) && (errno != EAGAIN) && (errno != EINTR))