1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-02-05 19:34:16 +00:00

warnings workaround

This commit is contained in:
R4SAS 2017-10-04 06:07:39 +03:00
parent bde0ecc8a9
commit 855c1bbc68
2 changed files with 51 additions and 45 deletions

View File

@ -136,7 +136,9 @@ void Shutdown()
boost::filesystem::remove(GetPidFile());
UnregisterWallet(pwalletMain);
if (pwalletMain)
{
delete pwalletMain;
}
I2PSession::Instance ().Stop ();
@ -826,7 +828,7 @@ bool AppInit2(boost::thread_group& threadGroup)
#endif
CService addrProxy;
bool fProxy = false;
//bool fProxy = false; // is usable?
if (mapArgs.count("-proxy")) {
addrProxy = CService(mapArgs["-proxy"], 9050);
if (!addrProxy.IsValid())
@ -841,7 +843,7 @@ bool AppInit2(boost::thread_group& threadGroup)
#endif
SetNameProxy(addrProxy, nSocksVersion);
}
fProxy = true;
//fProxy = true; // is usable?
}
// see Step 2: parameter interactions for more information about these

View File

@ -990,7 +990,9 @@ void ThreadSocketHandler()
// Accept new connections
//
if (!IsI2POnly())
{
BOOST_FOREACH(SOCKET hListenSocket, vhListenSocket)
{
if (hListenSocket != INVALID_SOCKET && FD_ISSET(hListenSocket, &fdsetRecv))
{
#ifdef USE_IPV6
@ -1044,6 +1046,8 @@ void ThreadSocketHandler()
}
}
}
}
}
//
// Accept new I2P connections
//