summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2007-12-08 14:12:07 +0000
committerroot <root>2007-12-08 14:12:07 +0000
commit480621758fe1687120978562a553920ed46e1b7e (patch)
tree12e3f18a656864a877d1b3738f9fb74be1bd862b /ev.c
parent74ab025f4b269ca1365059e6e07834e452adfabc (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 260787d..7e9423e 100644
--- a/ev.c
+++ b/ev.c
@@ -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)
{