mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-05 20:57:40 +01:00
Prefer errno_assert/alloc_assert to zmq_assert
This commit is contained in:
@@ -89,7 +89,7 @@ bool zmq::dealer_t::xhas_in ()
|
||||
int rc = dealer_t::xrecv (&prefetched_msg, ZMQ_DONTWAIT);
|
||||
if (rc != 0 && errno == EAGAIN)
|
||||
return false;
|
||||
zmq_assert (rc == 0);
|
||||
errno_assert (rc == 0);
|
||||
prefetched = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user