summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2007-11-10 19:48:44 +0000
committerroot <root>2007-11-10 19:48:44 +0000
commit92344af49ee4ba16adc8fadb616ed750e13c4ca1 (patch)
tree44a141189ad995e8d43e055ef3cef10edf547527 /ev.c
parentbf7b6162766ceeaace65f5172e4ee303f14c3884 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index 76dc021..28ed91b 100644
--- a/ev.c
+++ b/ev.c
@@ -1294,6 +1294,8 @@ ev_io_stop (EV_P_ struct ev_io *w)
if (!ev_is_active (w))
return;
+ assert (("ev_io_start called with illegal fd (must stay constant after start!)", w->fd >= 0 && w->fd < anfdmax));
+
wlist_del ((WL *)&anfds[w->fd].head, (WL)w);
ev_stop (EV_A_ (W)w);