Fix incorrect fd_ready assignment in NuKeeperTCPHandler.

This commit is contained in:
zhangxiao871 2021-03-09 17:42:27 +08:00
parent 90d019a281
commit 846f5a93a9

View File

@ -158,7 +158,7 @@ struct SocketInterruptablePollWrapper
if (rc >= 1 && poll_buf[0].revents & POLLIN)
socket_ready = true;
if (rc == 2 && poll_buf[1].revents & POLLIN)
if (rc >= 1 && poll_buf[1].revents & POLLIN)
fd_ready = true;
#endif
}