shared_ptr for RoutingDestination

This commit is contained in:
orignal 2015-01-28 21:37:08 -05:00
parent 938fa00469
commit 974a7ff3f5
7 changed files with 21 additions and 20 deletions

View file

@ -776,7 +776,7 @@ namespace client
auto leaseSet = i2p::data::netdb.FindLeaseSet (dest.GetIdentHash ());
if (leaseSet)
session->localDestination->GetDatagramDestination ()->
SendDatagramTo ((uint8_t *)eol, payloadLen, *leaseSet);
SendDatagramTo ((uint8_t *)eol, payloadLen, leaseSet);
else
{
LogPrint ("SAM datagram destination not found");