summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2011-08-04 11:58:02 +0000
committerroot <root>2011-08-04 11:58:02 +0000
commitd94a32259dae95c9ac3fd40503a637b1489c26aa (patch)
tree9410f57ed59b68f96a95a66edfd5e034a281b364
parentaa8c2db8ea28641e51a35d3c59a85db96243818b (diff)
bugfix by Ben Noordhuis
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 43c624e..1470c6b 100644
--- a/ev.c
+++ b/ev.c
@@ -4032,7 +4032,7 @@ ev_walk (EV_P_ int types, void (*cb)(EV_P_ int type, void *w))
#if EV_IDLE_ENABLE
if (types & EV_IDLE)
- for (j = NUMPRI; i--; )
+ for (j = NUMPRI; j--; )
for (i = idlecnt [j]; i--; )
cb (EV_A_ EV_IDLE, idles [j][i]);
#endif