From 7edc80324c90962daa5551a4fd95f7d14ae1bc37 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Thu, 9 Oct 2014 11:02:39 +1100 Subject: [PATCH] Fix thinko --- src/connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connector.c b/src/connector.c index dab3225c..11472f8d 100644 --- a/src/connector.c +++ b/src/connector.c @@ -303,7 +303,7 @@ repoll: cksleep_ms(100); ret = poll(fds, nfds, 1000); - if (unlikely(ret < 1)) { + if (unlikely(ret < 0)) { LOGERR("Failed to poll in receiver"); goto out; }