diff options
Diffstat (limited to 'ev_kqueue.c')
-rw-r--r-- | ev_kqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ev_kqueue.c b/ev_kqueue.c index 4081136..b30d7c4 100644 --- a/ev_kqueue.c +++ b/ev_kqueue.c @@ -102,7 +102,7 @@ kqueue_poll (EV_P_ ev_tstamp timeout) { int fd = kqueue_events [i].ident; - if (kqueue_events [i].flags & EV_ERROR) + if (expect_false (kqueue_events [i].flags & EV_ERROR)) { int err = kqueue_events [i].data; |