summaryrefslogtreecommitdiff
path: root/src/session.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-02-18 14:15:10 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-02-18 14:15:10 +0100
commit17e2ca71b4f6db76a4848d366defa36f1b19bdd7 (patch)
tree91cf1d4b619e245553f4bcc7b5b10ce2574cf815 /src/session.cpp
parent1f536b2d3820ba5435086a77ad34d86a432b94c7 (diff)
Logging of duplicit identities added
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/session.cpp')
-rw-r--r--src/session.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/session.cpp b/src/session.cpp
index 350d043..645ebf0 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -234,6 +234,7 @@ void zmq::session_t::process_attach (i_engine *engine_,
// If the session already has an engine attached, destroy new one.
// Note new engine is not plugged in yet, we don't have to unplug it.
if (engine) {
+ log ("DPID: duplicate peer identity - disconnecting peer");
delete engine_;
return;
}