typo
This commit is contained in:
parent
9d2b15f175
commit
619f266a4b
|
@ -84,7 +84,7 @@ final class EventDriverDNS_GAI(Events : EventDriverEvents, Signals : EventDriver
|
||||||
debug (EventCoreLogDNS) print("lookup %s start", lookup.name);
|
debug (EventCoreLogDNS) print("lookup %s start", lookup.name);
|
||||||
addrinfo hints;
|
addrinfo hints;
|
||||||
hints.ai_flags = AI_ADDRCONFIG;
|
hints.ai_flags = AI_ADDRCONFIG;
|
||||||
version (linx) hints.ai_flags |= AI_V4MAPPED;
|
version (linux) hints.ai_flags |= AI_V4MAPPED;
|
||||||
hints.ai_family = af;
|
hints.ai_family = af;
|
||||||
() @trusted { lookup.retcode = getaddrinfo(lookup.name.toStringz(), null, af == AddressFamily.UNSPEC ? null : &hints, &lookup.result); } ();
|
() @trusted { lookup.retcode = getaddrinfo(lookup.name.toStringz(), null, af == AddressFamily.UNSPEC ? null : &hints, &lookup.result); } ();
|
||||||
if (lookup.retcode == -1)
|
if (lookup.retcode == -1)
|
||||||
|
|
Loading…
Reference in a new issue