Resolve LIBZMQ-417

Ref: https://zeromq.jira.com/browse/LIBZMQ-417
This commit is contained in:
Martin Hurton 2012-10-24 22:05:45 +02:00
parent d2ee38acfe
commit 4824237761

View File

@ -223,7 +223,7 @@ void zmq::session_base_t::clean_pipes ()
msg_t msg;
int rc = msg.init ();
errno_assert (rc == 0);
if (!pull_msg (&msg)) {
if (pull_msg (&msg) != 0) {
zmq_assert (!incomplete_in);
break;
}