mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-16 10:01:14 -04:00
added signal blockign trick for widgets, and fixed the bug causing wrong values to be displayed in server settings
This commit is contained in:
parent
e7a7c171be
commit
ee9fbefd76
5 changed files with 78 additions and 61 deletions
|
@ -2259,7 +2259,10 @@ bool p3PeerMgrIMPL::loadList(std::list<RsItem *>& load)
|
|||
}
|
||||
else if (kit->key == kConfigKeyProxyServerPortTor)
|
||||
{
|
||||
proxyPortTor = atoi(kit->value.c_str());
|
||||
uint16_t p = atoi(kit->value.c_str());
|
||||
|
||||
if(p >= 1024)
|
||||
proxyPortTor = p;
|
||||
#ifdef PEER_DEBUG
|
||||
std::cerr << "Loaded proxyPort for Tor: " << proxyPortTor;
|
||||
std::cerr << std::endl ;
|
||||
|
@ -2276,7 +2279,10 @@ bool p3PeerMgrIMPL::loadList(std::list<RsItem *>& load)
|
|||
}
|
||||
else if (kit->key == kConfigKeyProxyServerPortI2P)
|
||||
{
|
||||
proxyPortI2P = atoi(kit->value.c_str());
|
||||
uint16_t p = atoi(kit->value.c_str());
|
||||
|
||||
if(p >= 1024)
|
||||
proxyPortI2P = p;
|
||||
#ifdef PEER_DEBUG
|
||||
std::cerr << "Loaded proxyPort for I2P: " << proxyPortI2P;
|
||||
std::cerr << std::endl ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue