mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-29 08:39:42 +08:00
add missing msg->init for ROUTER_RAW with empty message
This commit is contained in:
parent
b22c2e4f8a
commit
c663f37761
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user