summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-06 20:09:06 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-06 20:09:06 +0000
commit19bcd43f256258b90c1788e899ea5fe0dc044b4b (patch)
tree0801c25c746b71038f0474e8225a40afb3bd7e8c
parent55c95bc454095d3b9e245416a1b3c4fb1e1acfcd (diff)
Initialise this (valgrind warning)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9384 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/socketengines/socketengine_epoll.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socketengines/socketengine_epoll.cpp b/src/socketengines/socketengine_epoll.cpp
index a749208d1..6028ce2e1 100644
--- a/src/socketengines/socketengine_epoll.cpp
+++ b/src/socketengines/socketengine_epoll.cpp
@@ -19,6 +19,7 @@
EPollEngine::EPollEngine(InspIRCd* Instance) : SocketEngine(Instance)
{
+ MAX_DESCRIPTORS = 0;
EngineHandle = epoll_create(GetMaxFds());
if (EngineHandle == -1)