0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-01 10:50:28 +08:00

Merge pull request #302 from hurtonm/router_bugfix

Fix error in router socket introduced in the previous commit
This commit is contained in:
Pieter Hintjens 2012-04-03 00:34:21 -07:00
commit a969028977

View File

@ -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_);
}
}
}