Commit 48242377 authored by Martin Hurton's avatar Martin Hurton
parent d2ee38ac
...@@ -223,7 +223,7 @@ void zmq::session_base_t::clean_pipes () ...@@ -223,7 +223,7 @@ void zmq::session_base_t::clean_pipes ()
msg_t msg; msg_t msg;
int rc = msg.init (); int rc = msg.init ();
errno_assert (rc == 0); errno_assert (rc == 0);
if (!pull_msg (&msg)) { if (pull_msg (&msg) != 0) {
zmq_assert (!incomplete_in); zmq_assert (!incomplete_in);
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment