mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix warning: this statement may fall through
/libretroshare/src/pqi/pqisslpersongrp.cc:125: warning: this statement may fall through [-Wimplicit-fallthrough=] std::cerr << " --> falling back to Tor" << std::endl; /libretroshare/src/pqi/pqisslpersongrp.cc:126: here case RS_HIDDEN_TYPE_TOR:
This commit is contained in:
parent
e12f51b1be
commit
b9d4651f07
@ -123,6 +123,7 @@ pqiperson * pqisslpersongrp::locked_createPerson(const RsPeerId& id, pqilistener
|
|||||||
std::cerr << " - mPeerMgr->isHiddenPeer(id): " << mPeerMgr->isHiddenPeer(id) << std::endl;
|
std::cerr << " - mPeerMgr->isHiddenPeer(id): " << mPeerMgr->isHiddenPeer(id) << std::endl;
|
||||||
std::cerr << " - hidden types: peer=" << typePeer << " own=" << typeOwn << std::endl;
|
std::cerr << " - hidden types: peer=" << typePeer << " own=" << typeOwn << std::endl;
|
||||||
std::cerr << " --> falling back to Tor" << std::endl;
|
std::cerr << " --> falling back to Tor" << std::endl;
|
||||||
|
/* fallthrough */
|
||||||
case RS_HIDDEN_TYPE_TOR:
|
case RS_HIDDEN_TYPE_TOR:
|
||||||
pqip -> addChildInterface(PQI_CONNECT_HIDDEN_TOR_TCP, pqicSOCKSProxy);
|
pqip -> addChildInterface(PQI_CONNECT_HIDDEN_TOR_TCP, pqicSOCKSProxy);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user