mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
fix a bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1893 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7ca2b01791
commit
cfcd773d6e
1 changed files with 1 additions and 1 deletions
|
@ -1627,7 +1627,7 @@ bool p3ConnectMgr::doNextAttempt(std::string id)
|
|||
|
||||
it->second.inConnAttempt = false;
|
||||
|
||||
if ((it->second.state & RS_PEER_S_CONNECTED) && !(it->second.state & RS_NET_CONN_TUNNEL)) {
|
||||
if ((it->second.state & RS_PEER_S_CONNECTED) && !(it->second.connecttype & RS_NET_CONN_TUNNEL)) {
|
||||
rslog(RSL_WARNING, p3connectzone, "p3ConnectMgr::doNextAttempt() peer is already connected and not in tunnel mode, don't do next attempt.");
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue