diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-04 03:35:30 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-04 03:38:53 +0400 |
commit | 0c4e7354011ec3dd419a8f0364ada28a3c3a0bf1 (patch) | |
tree | 0d762c50c74218f07421a1a3ff1f78991472b518 /deps | |
parent | 88f416a5edf248681f550741b38f93a3a6dd6472 (diff) |
ev: fix infinite loop in ev_walk()
Diffstat (limited to 'deps')
-rw-r--r-- | deps/uv/src/ev/ev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/uv/src/ev/ev.c b/deps/uv/src/ev/ev.c index 4187b18af73..5e616c254fc 100644 --- a/deps/uv/src/ev/ev.c +++ b/deps/uv/src/ev/ev.c @@ -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 |