mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
pass local destination by pointer
This commit is contained in:
parent
6e32c389b1
commit
f357a5864c
8 changed files with 56 additions and 23 deletions
|
@ -29,8 +29,8 @@ namespace data
|
|||
&m_ExcludedPeers, m_IsLeaseSet, m_Pool);
|
||||
if (m_IsLeaseSet) // wrap lookup message into garlic
|
||||
{
|
||||
if (m_Pool)
|
||||
msg = m_Pool->GetLocalDestination ().WrapMessage (*router, msg);
|
||||
if (m_Pool && m_Pool->GetLocalDestination ())
|
||||
msg = m_Pool->GetLocalDestination ()->WrapMessage (*router, msg);
|
||||
else
|
||||
LogPrint ("Can't create garlic message without destination");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue