mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-27 19:10:22 +01:00
Whitespace fixes
This commit is contained in:
@@ -402,14 +402,11 @@ bool zmq::router_t::identify_peer (pipe_t *pipe_)
|
||||
outpipes_t::iterator it = outpipes.find (identity);
|
||||
msg.close ();
|
||||
|
||||
if (it != outpipes.end ())
|
||||
{
|
||||
if (!handover) {
|
||||
// Ignore peers with duplicate ID.
|
||||
if (it != outpipes.end ()) {
|
||||
if (!handover)
|
||||
// Ignore peers with duplicate ID
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
else {
|
||||
// We will allow the new connection to take over this
|
||||
// identity. Temporarily assign a new identity to the
|
||||
// existing pipe so we can terminate it asynchronously.
|
||||
|
||||
Reference in New Issue
Block a user