Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-06-18 13:51:50 +0400
committerFelix Fietkau <nbd@openwrt.org>2013-06-18 14:05:09 +0400
commit35cee2c2067246b5e3dede9caac5d8b7a60ccba1 (patch)
tree1cc026ed1a13efe9240dbe7ef19dc1b402fdd1eb /uloop.c
parente386259632187196519a6717d8eaefee79eeda9a (diff)
uloop: fix event flags processing on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uloop.c')
-rw-r--r--uloop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/uloop.c b/uloop.c
index ed7d87a..bf13199 100644
--- a/uloop.c
+++ b/uloop.c
@@ -179,6 +179,7 @@ static int uloop_fetch_events(int timeout)
else if (!ev)
cur->fd = NULL;
+ cur->events = ev;
if (u->flags & ULOOP_EDGE_DEFER) {
u->flags &= ~ULOOP_EDGE_DEFER;
u->flags |= ULOOP_EDGE_TRIGGER;