summaryrefslogtreecommitdiff
path: root/src/base/pollevent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/pollevent.cc')
-rw-r--r--src/base/pollevent.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/pollevent.cc b/src/base/pollevent.cc
index 9ed6df4fe..fb28d63d6 100644
--- a/src/base/pollevent.cc
+++ b/src/base/pollevent.cc
@@ -57,6 +57,7 @@ PollEvent::PollEvent(int _fd, int _events)
{
pfd.fd = _fd;
pfd.events = _events;
+ pfd.revents = 0;
}
PollEvent::~PollEvent()