Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2011-08-04 03:35:30 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2011-08-04 03:38:53 +0400
commit0c4e7354011ec3dd419a8f0364ada28a3c3a0bf1 (patch)
tree0d762c50c74218f07421a1a3ff1f78991472b518 /deps
parent88f416a5edf248681f550741b38f93a3a6dd6472 (diff)
ev: fix infinite loop in ev_walk()
Diffstat (limited to 'deps')
-rw-r--r--deps/uv/src/ev/ev.c2
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