summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index 66a70ec..a6077f8 100644
--- a/ev.c
+++ b/ev.c
@@ -808,6 +808,7 @@ fd_rearm_all (EV_P)
if (anfds [fd].events)
{
anfds [fd].events = 0;
+ anfds [fd].emask = 0;
fd_change (EV_A_ fd, EV_IOFDSET | 1);
}
}