X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/c04c7d0577ceddfe470b6fdcaf727ced91a67d1a..fbe9562600fa8735c078401aa604b49a5426b0e2:/ev_epoll.c diff --git a/ev_epoll.c b/ev_epoll.c index bdd746b..ffb1f05 100644 --- a/ev_epoll.c +++ b/ev_epoll.c @@ -42,7 +42,7 @@ epoll_modify (EV_P_ int fd, int oev, int nev) (nev & EV_READ ? EPOLLIN : 0) | (nev & EV_WRITE ? EPOLLOUT : 0); - if (!epoll_ctl (epoll_fd, mode, fd, &ev)) + if (epoll_ctl (epoll_fd, mode, fd, &ev)) fd_kill (EV_A_ fd); }