mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
trac 28 brackets around POLLIN flag test
Signed-off-by: Simon Wulf <simonwulf.lund@bredband.net>
This commit is contained in:
parent
66986b2e85
commit
502b9948f2
1 changed files with 1 additions and 1 deletions
|
@ -973,7 +973,7 @@ libwebsocket_service_fd(struct libwebsocket_context *context,
|
|||
|
||||
/* handle session socket closed */
|
||||
|
||||
if ((!pollfd->revents & POLLIN) &&
|
||||
if ((!(pollfd->revents & POLLIN)) &&
|
||||
(pollfd->revents & (POLLERR | POLLHUP))) {
|
||||
|
||||
lwsl_debug("Session Socket %p (fd=%d) dead\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue