mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 18:55:10 +01:00
Fix error in router socket introduced in the previous commit
This commit is contained in:
parent
f037290dc3
commit
9a60b3a2a1
@ -108,8 +108,10 @@ void zmq::router_t::xread_activated (pipe_t *pipe_)
|
||||
fq.activated (pipe_);
|
||||
else {
|
||||
bool identity_ok = identify_peer (pipe_);
|
||||
if (identity_ok)
|
||||
if (identity_ok) {
|
||||
anonymous_pipes.erase (it);
|
||||
fq.attach (pipe_);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user