mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
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:
parent
0a0dae07a4
commit
6031e24091
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user