From 93dd5d83224229c248eb1e42204d862f0e39e0ab Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 16 Dec 2014 22:16:14 +0000 Subject: [PATCH] fixed weird logic in handling connection attempt for an already connected peer. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7767 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pqi/pqiperson.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/pqi/pqiperson.cc b/libretroshare/src/pqi/pqiperson.cc index eab8753f0..8fba0c23f 100644 --- a/libretroshare/src/pqi/pqiperson.cc +++ b/libretroshare/src/pqi/pqiperson.cc @@ -315,7 +315,8 @@ int pqiperson::handleNotifyEvent_locked(NetInterface *ni, int newState, const s } /* now install a new one. */ - { + if(!active) + { pqioutput(PQL_WARNING, pqipersonzone, "pqiperson::notifyEvent() Id: " + PeerId().toStdString() + " CONNECT_SUCCESS->marking so! (resetting others)");