diff options
Diffstat (limited to 'src/socket_base.cpp')
-rw-r--r-- | src/socket_base.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 3e6488d..ad68fdb 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -331,9 +331,7 @@ int zmq::socket_base_t::recv (::zmq_msg_t *msg_, int flags_) } else { while (rc != 0) { - if (errno == EINPROGRESS) - app_thread->process_commands (false, true); - else if (errno == EAGAIN) + if (errno == EAGAIN) app_thread->process_commands (true, false); else return -1; |