return mapped events for linux-sysepoll (worked as they have the same values)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2352 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.21
parent
2a765780da
commit
ae90172ad3
|
@ -91,7 +91,7 @@ static int fdevent_linux_sysepoll_event_get_revent(fdevents *ev, size_t ndx) {
|
|||
if (e & EPOLLHUP) events |= FDEVENT_HUP;
|
||||
if (e & EPOLLPRI) events |= FDEVENT_PRI;
|
||||
|
||||
return e;
|
||||
return events;
|
||||
}
|
||||
|
||||
static int fdevent_linux_sysepoll_event_get_fd(fdevents *ev, size_t ndx) {
|
||||
|
|
Loading…
Reference in New Issue