From c27b298fce9a5edc92a262838feda7fe57662e70 Mon Sep 17 00:00:00 2001 From: xant Date: Wed, 2 Apr 2014 20:05:38 +0200 Subject: [PATCH] and same typo in the kqueue implementation --- src/iomux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iomux.c b/src/iomux.c index ba87519..eafcae2 100644 --- a/src/iomux.c +++ b/src/iomux.c @@ -853,7 +853,7 @@ iomux_run(iomux_t *iomux, struct timeval *tv_default) iomux->connections[i]->cbs.mux_output(iomux, i, data, &len, iomux->connections[i]->cbs.priv); - if (!iomux->connections[fd]) + if (!iomux->connections[i]) continue; if (len) {