Commit 9a60b3a2 authored by Martin Hurton's avatar Martin Hurton

Fix error in router socket introduced in the previous commit

parent f037290d
...@@ -108,8 +108,10 @@ void zmq::router_t::xread_activated (pipe_t *pipe_) ...@@ -108,8 +108,10 @@ void zmq::router_t::xread_activated (pipe_t *pipe_)
fq.activated (pipe_); fq.activated (pipe_);
else { else {
bool identity_ok = identify_peer (pipe_); bool identity_ok = identify_peer (pipe_);
if (identity_ok) if (identity_ok) {
anonymous_pipes.erase (it); anonymous_pipes.erase (it);
fq.attach (pipe_);
}
} }
} }
......
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