summaryrefslogtreecommitdiff
path: root/ev_epoll.c
diff options
context:
space:
mode:
authorroot <root>2007-11-04 22:03:17 +0000
committerroot <root>2007-11-04 22:03:17 +0000
commitfbe9562600fa8735c078401aa604b49a5426b0e2 (patch)
tree5f6c296d7683df9944cca470975fa1f4226ddb0c /ev_epoll.c
parent6f16328ecec5b9add341be4e60ed9eeaa3adea67 (diff)
bugfixes
Diffstat (limited to 'ev_epoll.c')
-rw-r--r--ev_epoll.c2
1 files changed, 1 insertions, 1 deletions
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);
}