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:38:12 +0000 (10:38 -0400)
commitdf8178078e1edef5bcdf650547fc70be7936f33a
tree766ff1b37fb80622751ba62f598b261035aa9a14
parent6acdf328bf6bcbdde61d4804b38059f392cadcbb
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.025858 seconds and 4 git commands to generate.