uloop: fix event flags processing on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
parent
e386259632
commit
35cee2c206
1 changed files with 1 additions and 0 deletions
1
uloop.c
1
uloop.c
|
@ -179,6 +179,7 @@ static int uloop_fetch_events(int timeout)
|
||||||
else if (!ev)
|
else if (!ev)
|
||||||
cur->fd = NULL;
|
cur->fd = NULL;
|
||||||
|
|
||||||
|
cur->events = ev;
|
||||||
if (u->flags & ULOOP_EDGE_DEFER) {
|
if (u->flags & ULOOP_EDGE_DEFER) {
|
||||||
u->flags &= ~ULOOP_EDGE_DEFER;
|
u->flags &= ~ULOOP_EDGE_DEFER;
|
||||||
u->flags |= ULOOP_EDGE_TRIGGER;
|
u->flags |= ULOOP_EDGE_TRIGGER;
|
||||||
|
|
Loading…
Reference in a new issue