Update src/Server/KeeperTCPHandler.cpp

Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
This commit is contained in:
Antonio Andelic 2023-08-01 09:04:55 +02:00 committed by GitHub
parent f9e0a202a7
commit 0374b3de3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,7 +175,8 @@ struct SocketInterruptablePollWrapper
}
while (rc < 0 && errno == POCO_EINTR);
if (rc >= 1) {
if (rc >= 1)
{
if (poll_buf[0].revents & POLLIN)
socket_ready = true;
if (poll_buf[1].revents & POLLIN)