X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/2fde047707205b8d8f1c71482d2df57105217e17..8b9a210d6531a3b35e9e6138473f6456318bae22:/ev_epoll.c?ds=sidebyside 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;