Change the error of zmq_poller from EAGAIN to ETIMEDOUT

This commit is contained in:
somdoron 2015-10-21 09:37:52 +03:00
parent 6501b8089f
commit 544d1e3499

View File

@ -175,7 +175,7 @@ int zmq::socket_poller_t::wait (zmq::socket_poller_t::event_t *event_, long time
} }
if (rc == 0) { if (rc == 0) {
errno = EAGAIN; errno = ETIMEDOUT;
return -1; return -1;
} }