0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-02 19:35:29 +08:00

Merge pull request #445 from hurtonm/issue_417

Resolve LIBZMQ-417
This commit is contained in:
Pieter Hintjens 2012-10-25 02:15:46 -07:00
commit 01be614593

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;
}