summaryrefslogtreecommitdiff
path: root/ev_epoll.c
diff options
context:
space:
mode:
authorroot <root>2007-11-03 11:44:44 +0000
committerroot <root>2007-11-03 11:44:44 +0000
commit1c33c678365888dfd0e9ba9271dc55d6093d490d (patch)
tree24b8666dd0e4f9d785c5b86fdd66b02e1ecc3e03 /ev_epoll.c
parente3cb88fa576a8f24145df1c6962db20c8013700f (diff)
rework signal and child handling
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 d38672f..a7918af 100644
--- a/ev_epoll.c
+++ b/ev_epoll.c
@@ -75,7 +75,7 @@ epoll_poll (ev_tstamp timeout)
for (i = 0; i < eventcnt; ++i)
fd_event (
- events [i].data.fd,
+ events [i].data.u64,
(events [i].events & (EPOLLOUT | EPOLLERR | EPOLLHUP) ? EV_WRITE : 0)
| (events [i].events & (EPOLLIN | EPOLLERR | EPOLLHUP) ? EV_READ : 0)
);