mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-31 04:44:13 +00:00
fixed crash
This commit is contained in:
parent
588c613043
commit
b8740c008b
3
SAM.cpp
3
SAM.cpp
@ -415,7 +415,8 @@ namespace client
|
|||||||
SendNamingLookupReply (m_Session->localDestination->GetIdentity ());
|
SendNamingLookupReply (m_Session->localDestination->GetIdentity ());
|
||||||
else if (context.GetAddressBook ().GetAddress (name, identity))
|
else if (context.GetAddressBook ().GetAddress (name, identity))
|
||||||
SendNamingLookupReply (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);
|
auto leaseSet = i2p::data::netdb.FindLeaseSet (ident);
|
||||||
if (leaseSet)
|
if (leaseSet)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user