mirror of
https://github.com/sogou/workflow.git
synced 2026-10-20 22:26:59 +08:00
fix Dns ValueDeleter bug
This commit is contained in:
@@ -159,7 +159,7 @@ private:
|
||||
{
|
||||
struct addrinfo *ai = value.addrinfo;
|
||||
|
||||
if (ai && (ai->ai_flags | AI_PASSIVE))
|
||||
if (ai && (ai->ai_flags & AI_PASSIVE))
|
||||
freeaddrinfo(ai);
|
||||
else
|
||||
DnsUtil::freeaddrinfo(ai);
|
||||
|
||||
Reference in New Issue
Block a user