mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
pass shared_ptr to SendRelayIntro
This commit is contained in:
parent
a0106fe5d8
commit
0a6d849435
2 changed files with 3 additions and 3 deletions
|
@ -479,7 +479,7 @@ namespace transport
|
|||
buf += 32; // introkey
|
||||
uint32_t nonce = bufbe32toh (buf);
|
||||
SendRelayResponse (nonce, from, introKey, session->m_RemoteEndpoint);
|
||||
SendRelayIntro (session.get (), from);
|
||||
SendRelayIntro (session, from);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -537,7 +537,7 @@ namespace transport
|
|||
LogPrint (eLogDebug, "SSU relay response sent");
|
||||
}
|
||||
|
||||
void SSUSession::SendRelayIntro (SSUSession * session, const boost::asio::ip::udp::endpoint& from)
|
||||
void SSUSession::SendRelayIntro (std::shared_ptr<SSUSession> session, const boost::asio::ip::udp::endpoint& from)
|
||||
{
|
||||
if (!session) return;
|
||||
// Alice's address always v4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue