mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-15 20:42:29 -04:00
suppressed some uninitialised memory reads
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5ff5a37bd2
commit
365ef569dc
3 changed files with 18 additions and 12 deletions
|
@ -139,20 +139,26 @@ p3ConnectMgr::p3ConnectMgr()
|
|||
mStatusChanged(false)
|
||||
{
|
||||
/* setup basics of own state */
|
||||
ownState.id = AuthSSL::getAuthSSL()->OwnId();
|
||||
ownState.gpg_id = AuthGPG::getAuthGPG()->getGPGOwnId();
|
||||
ownState.name = AuthGPG::getAuthGPG()->getGPGOwnName();
|
||||
ownState.location = AuthSSL::getAuthSSL()->getOwnLocation();
|
||||
ownState.netMode = RS_NET_MODE_UDP;
|
||||
ownState.netMode |= RS_NET_MODE_TRY_UPNP;
|
||||
ownState.id = AuthSSL::getAuthSSL()->OwnId();
|
||||
ownState.gpg_id = AuthGPG::getAuthGPG()->getGPGOwnId();
|
||||
ownState.name = AuthGPG::getAuthGPG()->getGPGOwnName();
|
||||
ownState.location = AuthSSL::getAuthSSL()->getOwnLocation();
|
||||
ownState.netMode = RS_NET_MODE_UDP;
|
||||
ownState.netMode |= RS_NET_MODE_TRY_UPNP;
|
||||
|
||||
//use_extr_addr_finder = true ;
|
||||
use_extr_addr_finder = false;
|
||||
allow_tunnel_connection = false;
|
||||
mExtAddrFinder = new ExtAddrFinder;
|
||||
mNetInitTS = 0;
|
||||
allow_tunnel_connection = false;
|
||||
mExtAddrFinder = new ExtAddrFinder;
|
||||
mNetInitTS = 0;
|
||||
|
||||
netReset();
|
||||
netFlagExtraAddressCheckOk = false;
|
||||
netFlagLocalOk = false;
|
||||
netFlagUpnpOk = false;
|
||||
netFlagDhtOk = false;
|
||||
netFlagStunOk = false;
|
||||
|
||||
netReset();
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue