mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
return shared_ptr to RI
This commit is contained in:
parent
683c97d5c8
commit
0f4e4a7944
5 changed files with 21 additions and 21 deletions
|
@ -360,7 +360,7 @@ namespace transport
|
|||
{
|
||||
auto router = i2p::data::netdb.GetRandomRouter ();
|
||||
if (router && router->IsSSU () && m_SSUServer)
|
||||
m_SSUServer->GetSession (router, true); // peer test
|
||||
m_SSUServer->GetSession (router.get (), true); // peer test
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue