Fix: remove bad check after epoll wait in consumer
authorDavid Goulet <dgoulet@efficios.com>
Thu, 29 Aug 2013 14:38:12 +0000 (10:38 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 29 Aug 2013 14:50:26 +0000 (10:50 -0400)
commit8d6144b81e91ea600cf04d9e8270069c7c5006fb
tree0440b96a95b8a8f5881dc7b9e04e951937cc2c97
parent6d67e4b4a3fb93ef10449e00d42f8344355c2d78
Fix: remove bad check after epoll wait in consumer

The returned nb_fd value is the number of FD ready for the requested I/O
so having and revents set to 0 is possible since not all fd are ready
thus making this check irrelevant and actually ressource consuming.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer.c
This page took 0.027428 seconds and 4 git commands to generate.