From b233d0c582a3c6f8d85b681074e4f1ac4678276d Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 7 Apr 2008 12:29:05 +0000 Subject: 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 --- src/socketengines/socketengine_kqueue.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/socketengines/socketengine_kqueue.cpp') 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()]; -- cgit v1.2.3