mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
use shared_ptr for I2NP messages through tunnels
This commit is contained in:
parent
122b8c2a84
commit
4ed7e29896
16 changed files with 75 additions and 127 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue