summaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-01 01:32:10 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-01 01:32:10 +0000
commit4981eab599095dfdb04d51f54ebe550e3b680e2f (patch)
tree74c945426bb9f9efcebe7f584b1e0c3e32731ed6 /src/socketengine.cpp
parent23e62cef071f8d037b2d163d60bcc85f5887776c (diff)
Fix possible uninit memory access detected by valgrind
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12346 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r--src/socketengine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp
index 98916e602..e24378e26 100644
--- a/src/socketengine.cpp
+++ b/src/socketengine.cpp
@@ -16,6 +16,7 @@
EventHandler::EventHandler()
{
fd = -1;
+ event_mask = 0;
}
void EventHandler::SetFd(int FD)