X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/2fde047707205b8d8f1c71482d2df57105217e17..96c68b67a0641d167fa6422f2fd1c1f74c25a83e:/ev_epoll.c diff --git a/ev_epoll.c b/ev_epoll.c index 92587c2..7614ac5 100644 --- a/ev_epoll.c +++ b/ev_epoll.c @@ -1,4 +1,6 @@ /* + * libev epoll fd activity backend + * * Copyright (c) 2007 Marc Alexander Lehmann * All rights reserved. * @@ -55,8 +57,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;