use shared_ptr for DeliverStatus

This commit is contained in:
orignal 2015-06-24 10:45:58 -04:00
parent a05a20440e
commit 206f094dd4
6 changed files with 8 additions and 11 deletions

View file

@ -307,7 +307,7 @@ namespace garlic
htobe32buf (buf + size, inboundTunnel->GetNextTunnelID ()); // tunnelID
size += 4;
// create msg
auto msg = ToSharedI2NPMessage (CreateDeliveryStatusMsg (msgID));
auto msg = CreateDeliveryStatusMsg (msgID);
if (m_Owner)
{
//encrypt