From 35cee2c2067246b5e3dede9caac5d8b7a60ccba1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 18 Jun 2013 11:51:50 +0200 Subject: [PATCH] uloop: fix event flags processing on mac os x Signed-off-by: Felix Fietkau --- uloop.c | 1 + 1 file changed, 1 insertion(+) 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;