From d1b095d1af0b2f1f3babc647c86b0ebcd2587a09 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Thu, 9 Oct 2014 11:01:43 +1100 Subject: [PATCH] Fix typo --- src/connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connector.c b/src/connector.c index 467e5a66..dab3225c 100644 --- a/src/connector.c +++ b/src/connector.c @@ -308,7 +308,7 @@ repoll: goto out; } - for (i = 0; i < nfds, ret > 0; i++) { + for (i = 0; i < nfds || ret > 0; i++) { int fd, accepted; if (!fds[i].revents)