diff options
author | root <root> | 2007-11-04 00:24:16 +0000 |
---|---|---|
committer | root <root> | 2007-11-04 00:24:16 +0000 |
commit | 678c8c54d0ce967d8f1db3e575aed61879279975 (patch) | |
tree | a2feeabbc2a22bd63f6395361adb80230c1d903b /ev_select.c | |
parent | 60a7a3c0029fc0a57c6548e3175af0a362a37a52 (diff) |
wow the event api is broken
Diffstat (limited to 'ev_select.c')
-rw-r--r-- | ev_select.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ev_select.c b/ev_select.c index 05dc30a..5738fe5 100644 --- a/ev_select.c +++ b/ev_select.c @@ -107,7 +107,7 @@ select_poll (EV_P_ ev_tstamp timeout) events |= byte_w & (1 << bit) ? EV_WRITE : 0; if (events) - fd_event (idx * 8 + bit, events); + fd_event (EV_A_ idx * 8 + bit, events); } } } @@ -115,9 +115,9 @@ select_poll (EV_P_ ev_tstamp timeout) else if (res < 0) { if (errno == EBADF) - fd_ebadf (); + fd_ebadf (EV_A); else if (errno == ENOMEM) - fd_enomem (); + fd_enomem (EV_A); } } |