From: willy tarreau Date: Sun, 21 May 2006 14:26:20 +0000 (+0200) Subject: [MAJOR] missing parenthesis in poll_loop() might have caused missed events. X-Git-Tag: v1.2.14~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=606788e4d58a246a6deaba5536ab093973543bd2;p=thirdparty%2Fhaproxy.git [MAJOR] missing parenthesis in poll_loop() might have caused missed events. --- diff --git a/haproxy.c b/haproxy.c index b2526ce03e..5e08965d01 100644 --- a/haproxy.c +++ b/haproxy.c @@ -7148,7 +7148,7 @@ int poll_loop(int action) { for (count = 0; status > 0 && count < nbfd; count++) { fd = poll_events[count].fd; - if (!poll_events[count].revents & ( POLLOUT | POLLIN | POLLERR | POLLHUP )) + if (!(poll_events[count].revents & ( POLLOUT | POLLIN | POLLERR | POLLHUP ))) continue; /* ok, we found one active fd */