fixed GH #1596: Control reaches end of non-void function in SocketImpl::poll on systems for which POCO_HAVE_FD_POLL is set

This commit is contained in:
Guenter Obiltschnig 2017-02-15 22:27:50 +01:00
parent 0a0dae07a4
commit 6031e24091

View File

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