diff options
author | root <root> | 2007-12-08 14:12:07 +0000 |
---|---|---|
committer | root <root> | 2007-12-08 14:12:07 +0000 |
commit | 480621758fe1687120978562a553920ed46e1b7e (patch) | |
tree | 12e3f18a656864a877d1b3738f9fb74be1bd862b /ev.c | |
parent | 74ab025f4b269ca1365059e6e07834e452adfabc (diff) |
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -509,7 +509,8 @@ fd_event (EV_P_ int fd, int revents) void ev_feed_fd_event (EV_P_ int fd, int revents) { - fd_event (EV_A_ fd, revents); + if (fd >= 0 && fd < anfdmax) + fd_event (EV_A_ fd, revents); } void inline_size @@ -1165,6 +1166,12 @@ ev_default_fork (void) /*****************************************************************************/ +void +ev_invoke (EV_P_ void *w, int revents) +{ + EV_CB_INVOKE ((W)w, revents); +} + void inline_speed call_pending (EV_P) { |