Browse Source

fix

pull/628/head
Jeff Becker 8 years ago
parent
commit
7ef7ef03dd
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 4
      AddressBook.cpp

4
AddressBook.cpp

@ -543,9 +543,7 @@ namespace client @@ -543,9 +543,7 @@ namespace client
auto dest = i2p::client::context.GetSharedLocalDestination ();
if (dest)
{
auto datagram = dest->GetDatagramDestination ();
if (datagram == nullptr)
datagram = dest->CreateDatagramDestination ();
auto datagram = dest->CreateDatagramDestination ();
datagram->SetReceiver (std::bind (&AddressBook::HandleLookupResponse, this,
std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4, std::placeholders::_5),
ADDRESS_RESPONSE_DATAGRAM_PORT);

Loading…
Cancel
Save