X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/e3cb88fa576a8f24145df1c6962db20c8013700f..b5304cc456ee27383d787591037f5d15ca3b274f:/ev_epoll.c?ds=inline 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) );