提交 846f5a93 编写于 作者: Z zhangxiao871

Fix incorrect fd_ready assignment in NuKeeperTCPHandler.

上级 90d019a2
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册