Commit 544d1e34 authored by somdoron's avatar somdoron

Change the error of zmq_poller from EAGAIN to ETIMEDOUT

parent 6501b808
......@@ -175,7 +175,7 @@ int zmq::socket_poller_t::wait (zmq::socket_poller_t::event_t *event_, long time
}
if (rc == 0) {
errno = EAGAIN;
errno = ETIMEDOUT;
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment