From ad3342e3bd3fd76f87dbed6c184742438d38e6a2 Mon Sep 17 00:00:00 2001 From: sf-exg Date: Sat, 3 Apr 2010 22:33:24 +0000 Subject: Replace leading tabs with spaces, patch by Mikachu. --- ev_kqueue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ev_kqueue.c b/ev_kqueue.c index a093d55..83ae339 100644 --- a/ev_kqueue.c +++ b/ev_kqueue.c @@ -117,11 +117,11 @@ kqueue_poll (EV_P_ ev_tstamp timeout) if (expect_false (kqueue_events [i].flags & EV_ERROR)) { - int err = kqueue_events [i].data; + int err = kqueue_events [i].data; /* we are only interested in errors for fds that we are interested in :) */ if (anfds [fd].events) - { + { if (err == ENOENT) /* resubmit changes on ENOENT */ kqueue_modify (EV_A_ fd, 0, anfds [fd].events); else if (err == EBADF) /* on EBADF, we re-check the fd */ @@ -133,7 +133,7 @@ kqueue_poll (EV_P_ ev_tstamp timeout) } else /* on all other errors, we error out on the fd */ fd_kill (EV_A_ fd); - } + } } else fd_event ( -- cgit v1.2.3