Prefer errno_assert/alloc_assert to zmq_assert

This commit is contained in:
Martin Hurton
2012-05-28 23:13:09 +02:00
parent 013967681d
commit 24b79c7e0b
12 changed files with 39 additions and 38 deletions

View File

@@ -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;
}