mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
fix
This commit is contained in:
parent
808b758cd7
commit
7ef7ef03dd
1 changed files with 1 additions and 3 deletions
|
@ -543,9 +543,7 @@ namespace client
|
||||||
auto dest = i2p::client::context.GetSharedLocalDestination ();
|
auto dest = i2p::client::context.GetSharedLocalDestination ();
|
||||||
if (dest)
|
if (dest)
|
||||||
{
|
{
|
||||||
auto datagram = dest->GetDatagramDestination ();
|
auto datagram = dest->CreateDatagramDestination ();
|
||||||
if (datagram == nullptr)
|
|
||||||
datagram = dest->CreateDatagramDestination ();
|
|
||||||
datagram->SetReceiver (std::bind (&AddressBook::HandleLookupResponse, this,
|
datagram->SetReceiver (std::bind (&AddressBook::HandleLookupResponse, this,
|
||||||
std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4, std::placeholders::_5),
|
std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4, std::placeholders::_5),
|
||||||
ADDRESS_RESPONSE_DATAGRAM_PORT);
|
ADDRESS_RESPONSE_DATAGRAM_PORT);
|
||||||
|
|
Loading…
Add table
Reference in a new issue