Skip to content

Commit

Permalink
ev: fix infinite loop in ev_walk()
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Aug 4, 2011
1 parent 642d97c commit c01d6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ev/ev.c
Expand Up @@ -3846,7 +3846,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
Expand Down

0 comments on commit c01d6f9

Please sign in to comment.