reverted recent commit on connection logic: it does not solve the problem. More debugging needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7771 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-12-18 20:09:04 +00:00
parent a3b844da6b
commit 6452947e8a

View File

@ -287,7 +287,7 @@ int pqiperson::handleNotifyEvent_locked(NetInterface *ni, int newState, const s
} }
if (!pqi) if (!pqi)
{ {
pqioutput(PQL_WARNING, pqipersonzone, "Unknown notfyEvent Source!"); pqioutput(PQL_WARNING, pqipersonzone, "Unknown notfyEvent Source!");
return -1; return -1;
} }
@ -315,7 +315,6 @@ int pqiperson::handleNotifyEvent_locked(NetInterface *ni, int newState, const s
} }
/* now install a new one. */ /* now install a new one. */
if(!active)
{ {
pqioutput(PQL_WARNING, pqipersonzone, "pqiperson::notifyEvent() Id: " + PeerId().toStdString() + " CONNECT_SUCCESS->marking so! (resetting others)"); pqioutput(PQL_WARNING, pqipersonzone, "pqiperson::notifyEvent() Id: " + PeerId().toStdString() + " CONNECT_SUCCESS->marking so! (resetting others)");
@ -342,7 +341,7 @@ int pqiperson::handleNotifyEvent_locked(NetInterface *ni, int newState, const s
} }
} }
return 1; return 1;
} }
break; break;
case CONNECT_UNREACHABLE: case CONNECT_UNREACHABLE:
case CONNECT_FIREWALLED: case CONNECT_FIREWALLED: