From: Felix Fietkau Date: Tue, 18 Jun 2013 09:51:50 +0000 (+0200) Subject: uloop: fix event flags processing on mac os x X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibubox.git;a=commitdiff_plain;h=35cee2c2067246b5e3dede9caac5d8b7a60ccba1 uloop: fix event flags processing on mac os x Signed-off-by: Felix Fietkau --- 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;