X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/2fde047707205b8d8f1c71482d2df57105217e17..1b109e5d8b0948a2e7151b3820f1c4784cafeece:/ev_epoll.c diff --git a/ev_epoll.c b/ev_epoll.c index 92587c2..f0a9678 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)//D + epoll_modify (fd, EV_NONE, anfds [fd].events); } static struct epoll_event *events;