mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove theConfig dependency in PeerDoor
This commit is contained in:
@@ -569,7 +569,11 @@ void Application::setup ()
|
||||
{
|
||||
try
|
||||
{
|
||||
mPeerDoor = new PeerDoor (mIOService);
|
||||
mPeerDoor = new PeerDoor (
|
||||
theConfig.PEER_IP,
|
||||
theConfig.PEER_PORT,
|
||||
theConfig.PEER_SSL_CIPHER_LIST,
|
||||
mIOService);
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user