summaryrefslogtreecommitdiff
path: root/ev_epoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev_epoll.c')
-rw-r--r--ev_epoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ev_epoll.c b/ev_epoll.c
index 92587c2..d03f8a5 100644
--- a/ev_epoll.c
+++ b/ev_epoll.c
@@ -55,8 +55,8 @@ epoll_postfork_child (void)
/* re-register interest in fds */
for (fd = 0; fd < anfdmax; ++fd)
- if (anfds [fd].wev)
- epoll_modify (fd, EV_NONE, anfds [fd].wev);
+ if (anfds [fd].events && !(anfds [fd].events & EV_REIFY))//D
+ epoll_modify (fd, EV_NONE, anfds [fd].events);
}
static struct epoll_event *events;