summaryrefslogtreecommitdiff
path: root/ev_epoll.c
diff options
context:
space:
mode:
authorroot <root>2007-11-04 18:29:44 +0000
committerroot <root>2007-11-04 18:29:44 +0000
commitf776d56f36abeed4a6091c2ec9b96363213ce2b2 (patch)
tree4708b492a5acc8c39487fd2bfe33cb9ff7954f89 /ev_epoll.c
parentf4f2094b6a36eac7778c5091ee4160a2f403e808 (diff)
*** empty log message ***
Diffstat (limited to 'ev_epoll.c')
-rw-r--r--ev_epoll.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ev_epoll.c b/ev_epoll.c
index ee7ceea..8bc8658 100644
--- a/ev_epoll.c
+++ b/ev_epoll.c
@@ -102,11 +102,9 @@ epoll_destroy (EV_P)
static void
epoll_fork (EV_P)
{
- int fd;
-
epoll_fd = epoll_create (256);
fcntl (epoll_fd, F_SETFD, FD_CLOEXEC);
- fd_rearm_all ();
+ fd_rearm_all (EV_A);
}