diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-14 20:01:01 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-14 20:01:01 +0000 |
commit | a3de29f341a1a7e057d248686a9a9170ac67f466 (patch) | |
tree | 016941403daec0dc38429e4238d05ddcb71e9e4a /src/socketengine_epoll.cpp | |
parent | 9d5102ed8b0985de418e7acc2613c3ded7fbfe96 (diff) |
Another couple of 'forgot to memset's
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5742 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengine_epoll.cpp')
-rw-r--r-- | src/socketengine_epoll.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socketengine_epoll.cpp b/src/socketengine_epoll.cpp index 1f4f02548..06124a48c 100644 --- a/src/socketengine_epoll.cpp +++ b/src/socketengine_epoll.cpp @@ -155,6 +155,7 @@ int EPollEngine::DispatchEvents() if (events[j].events & EPOLLOUT) { struct epoll_event ev; + memset(&ev,0,sizeof(struct epoll_event)); ev.events = EPOLLIN; ev.data.fd = events[j].data.fd; int i = epoll_ctl(EngineHandle, EPOLL_CTL_MOD, events[j].data.fd, &ev); |