mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
[MAJOR] missing parenthesis in poll_loop() might have caused missed events.
This commit is contained in:
parent
7476ec9876
commit
606788e4d5
@ -7148,7 +7148,7 @@ int poll_loop(int action) {
|
|||||||
for (count = 0; status > 0 && count < nbfd; count++) {
|
for (count = 0; status > 0 && count < nbfd; count++) {
|
||||||
fd = poll_events[count].fd;
|
fd = poll_events[count].fd;
|
||||||
|
|
||||||
if (!poll_events[count].revents & ( POLLOUT | POLLIN | POLLERR | POLLHUP ))
|
if (!(poll_events[count].revents & ( POLLOUT | POLLIN | POLLERR | POLLHUP )))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* ok, we found one active fd */
|
/* ok, we found one active fd */
|
||||||
|
Loading…
Reference in New Issue
Block a user