mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
use shared_ptr for garlic messages
This commit is contained in:
parent
1fc50a59f5
commit
2cbd6e85c6
11 changed files with 36 additions and 39 deletions
|
@ -118,7 +118,7 @@ namespace data
|
|||
auto nextFloodfill = netdb.GetClosestFloodfill (dest->GetDestination (), dest->GetExcludedPeers ());
|
||||
if (nextFloodfill && outbound && inbound)
|
||||
outbound->SendTunnelDataMsg (nextFloodfill->GetIdentHash (), 0,
|
||||
dest->CreateRequestMessage (nextFloodfill, inbound));
|
||||
ToSharedI2NPMessage (dest->CreateRequestMessage (nextFloodfill, inbound)));
|
||||
else
|
||||
{
|
||||
done = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue