From 58d54740785eb2c7208a01afb5bd9736e5808069 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 31 May 2012 09:09:43 +0200 Subject: Assertions improved This patch is replaces generic xs_asserts by errno_assers and alloc_asserts as appropriate. It is based on 0MQ patch by Martin Hurton. Signed-off-by: Martin Sustrik --- src/xrep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xrep.cpp') diff --git a/src/xrep.cpp b/src/xrep.cpp index 30f1419..0e6acb2 100644 --- a/src/xrep.cpp +++ b/src/xrep.cpp @@ -319,7 +319,7 @@ bool xs::xrep_t::xhas_in () id.close (); return false; } - xs_assert (rc == 0); + errno_assert (rc == 0); // We have first part of the message prefetched now. We will store the // prefetched identity as well. -- cgit v1.2.3