mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 12:18:04 +01:00
fixing a bug: client over inproc receives msg with routing id set
This commit is contained in:
@@ -512,6 +512,12 @@ int zmq::msg_t::set_routing_id (uint32_t routing_id_)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int zmq::msg_t::reset_routing_id ()
|
||||
{
|
||||
u.base.routing_id = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
zmq::atomic_counter_t *zmq::msg_t::refcnt()
|
||||
{
|
||||
switch(u.base.type)
|
||||
|
||||
Reference in New Issue
Block a user