summaryrefslogtreecommitdiff
path: root/src/socketengines/socketengine_kqueue.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-07 12:29:05 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-07 12:29:05 +0000
commitb233d0c582a3c6f8d85b681074e4f1ac4678276d (patch)
treed7b37b4509fd3684bd9709ee5fb57f243efa844e /src/socketengines/socketengine_kqueue.cpp
parentf0a07a46b614e2ded6103615dc5813a5dc5f5668 (diff)
Patch from Brain: set MAX_DESCRIPTORS for all socket engines (I missed this)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9394 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengines/socketengine_kqueue.cpp')
-rw-r--r--src/socketengines/socketengine_kqueue.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socketengines/socketengine_kqueue.cpp b/src/socketengines/socketengine_kqueue.cpp
index 214afc71c..7630ffb98 100644
--- a/src/socketengines/socketengine_kqueue.cpp
+++ b/src/socketengines/socketengine_kqueue.cpp
@@ -21,6 +21,7 @@
KQueueEngine::KQueueEngine(InspIRCd* Instance) : SocketEngine(Instance)
{
+ MAX_DESCRIPTORS = 0;
this->RecoverFromFork();
ke_list = new struct kevent[GetMaxFds()];
ref = new EventHandler* [GetMaxFds()];