Browse Source

fixed crash

pull/151/head
orignal 10 years ago
parent
commit
b8740c008b
  1. 3
      SAM.cpp

3
SAM.cpp

@ -415,7 +415,8 @@ namespace client @@ -415,7 +415,8 @@ namespace client
SendNamingLookupReply (m_Session->localDestination->GetIdentity ());
else if (context.GetAddressBook ().GetAddress (name, identity))
SendNamingLookupReply (identity);
else if (context.GetAddressBook ().GetIdentHash (name, ident))
else if (m_Session && m_Session->localDestination &&
context.GetAddressBook ().GetIdentHash (name, ident))
{
auto leaseSet = i2p::data::netdb.FindLeaseSet (ident);
if (leaseSet)

Loading…
Cancel
Save