fixing a bug: client over inproc receives msg with routing id set

This commit is contained in:
somdoron
2016-01-19 20:05:22 +02:00
parent e0fc5841cd
commit 669c5697c2
4 changed files with 18 additions and 5 deletions

View File

@@ -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)