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:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user