Remove theConfig dependency in PeerDoor

This commit is contained in:
Vinnie Falco
2013-07-09 18:45:04 -07:00
parent 0bfe5fc3a6
commit 45bf6820d2
4 changed files with 29 additions and 15 deletions

View File

@@ -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)
{