1
0
mirror of https://github.com/pocoproject/poco.git synced 2025-03-31 16:04:27 +02:00

fix build when using poll

This commit is contained in:
Henry Hu 2017-03-06 10:37:35 -05:00
parent 4403634bef
commit f64e3d9db0

@ -473,7 +473,7 @@ bool SocketImpl::poll(const Poco::Timespan& timeout, int mode)
}
}
while (rc < 0 && lastError() == POCO_EINTR);
if (rc < 0) error(errorCode);
if (rc < 0) error();
return rc > 0;
#else