Commit 96ee8bb9 authored by MinRK's avatar MinRK

add missing msg->init for ROUTER_RAW with empty message

parent dad09334
......@@ -225,6 +225,8 @@ int zmq::router_t::xsend (msg_t *msg_)
current_out->terminate (false);
int rc = msg_->close ();
errno_assert (rc == 0);
rc = msg_->init ();
errno_assert (rc == 0);
current_out = NULL;
return 0;
}
......
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