1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-31 04:44:13 +00:00

fixed crash at startup

This commit is contained in:
orignal 2015-02-27 17:58:01 -05:00
parent 7949ffe41e
commit 3977cec408

View File

@ -390,7 +390,7 @@ namespace transport
for (int i = 0; i < 5; i++) for (int i = 0; i < 5; i++)
{ {
auto router = i2p::data::netdb.GetRandomPeerTestRouter (); auto router = i2p::data::netdb.GetRandomPeerTestRouter ();
if (router) if (router && router->IsSSU ())
m_SSUServer->GetSession (router, true); // peer test m_SSUServer->GetSession (router, true); // peer test
else else
{ {