This commit is contained in:
Jeff Becker 2016-08-21 21:45:08 -04:00
parent ff6d66b96e
commit 808b758cd7
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -544,7 +544,7 @@ namespace client
if (dest) if (dest)
{ {
auto datagram = dest->GetDatagramDestination (); auto datagram = dest->GetDatagramDestination ();
if (!datagram) if (datagram == nullptr)
datagram = dest->CreateDatagramDestination (); 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),