Commit 01be6145 authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #445 from hurtonm/issue_417

Resolve LIBZMQ-417
parents d2ee38ac 48242377
...@@ -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