aboutsummaryrefslogtreecommitdiff
path: root/evmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'evmap.c')
-rw-r--r--evmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/evmap.c b/evmap.c
index ffc991f..e4e35c6 100644
--- a/evmap.c
+++ b/evmap.c
@@ -432,7 +432,7 @@ evmap_io_active_(struct event_base *base, evutil_socket_t fd, short events)
if (NULL == ctx)
return;
LIST_FOREACH(ev, &ctx->events, ev_io_next) {
- if (ev->ev_events & events)
+ if (ev->ev_events & (events & ~EV_ET))
event_active_nolock_(ev, ev->ev_events & events, 1);
}
}