summaryrefslogtreecommitdiff
path: root/src/dist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dist.cpp')
-rw-r--r--src/dist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dist.cpp b/src/dist.cpp
index 4e94276..6106394 100644
--- a/src/dist.cpp
+++ b/src/dist.cpp
@@ -153,7 +153,7 @@ void xs::dist_t::distribute (msg_t *msg_, int flags_)
int rc = msg_->close ();
errno_assert (rc == 0);
rc = msg_->init ();
- xs_assert (rc == 0);
+ errno_assert (rc == 0);
return;
}