mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
use shared_ptr for I2NP messages through tunnels
This commit is contained in:
@@ -242,12 +242,7 @@ namespace transport
|
||||
{
|
||||
// we send it to ourself
|
||||
for (auto it: msgs)
|
||||
{
|
||||
// TODO:
|
||||
auto m = NewI2NPMessage ();
|
||||
*m = *(it);
|
||||
i2p::HandleI2NPMessage (m);
|
||||
}
|
||||
i2p::HandleI2NPMessage (it);
|
||||
return;
|
||||
}
|
||||
auto it = m_Peers.find (ident);
|
||||
|
||||
Reference in New Issue
Block a user