Merge pull request #1622 from HenryHu/master

fix build when using poll
This commit is contained in:
Günter Obiltschnig 2017-03-07 12:36:10 +01:00 committed by GitHub
commit 20e2313881

View File

@ -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