summaryrefslogtreecommitdiff
path: root/ev_kqueue.c
diff options
context:
space:
mode:
authorsf-exg <sf-exg>2010-04-03 22:33:24 +0000
committersf-exg <sf-exg>2010-04-03 22:33:24 +0000
commitad3342e3bd3fd76f87dbed6c184742438d38e6a2 (patch)
treef9549418aea2db28c1b67b0c51847c0db5292354 /ev_kqueue.c
parent73ff737d11056bac5a0946a4384eab6b6c3dab44 (diff)
Replace leading tabs with spaces, patch by Mikachu.
Diffstat (limited to 'ev_kqueue.c')
-rw-r--r--ev_kqueue.c6
1 files 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 (