commit | 606788e4d58a246a6deaba5536ab093973543bd2 | [log] [tgz] |
---|---|---|
author | willy tarreau <willy@wtap.(none)> | Sun May 21 16:26:20 2006 +0200 |
committer | willy tarreau <willy@wtap.(none)> | Sun May 21 16:26:20 2006 +0200 |
tree | 562a51b55e9d3417835cefb92335cae3f642bbd5 | |
parent | 7476ec98769760794f3a32aa4b07619b1baf5d1e [diff] |
[MAJOR] missing parenthesis in poll_loop() might have caused missed events.
diff --git a/haproxy.c b/haproxy.c index b2526ce..5e08965 100644 --- a/haproxy.c +++ b/haproxy.c
@@ -7148,7 +7148,7 @@ 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 */