From 619f266a4bf013da570f0a45d1ab7f97d44d7d95 Mon Sep 17 00:00:00 2001 From: Martin Nowak Date: Tue, 6 Nov 2018 00:54:23 +0100 Subject: [PATCH] typo --- source/eventcore/drivers/posix/dns.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/eventcore/drivers/posix/dns.d b/source/eventcore/drivers/posix/dns.d index 1ec3e7d..ac30eb3 100644 --- a/source/eventcore/drivers/posix/dns.d +++ b/source/eventcore/drivers/posix/dns.d @@ -84,7 +84,7 @@ final class EventDriverDNS_GAI(Events : EventDriverEvents, Signals : EventDriver debug (EventCoreLogDNS) print("lookup %s start", lookup.name); addrinfo hints; hints.ai_flags = AI_ADDRCONFIG; - version (linx) hints.ai_flags |= AI_V4MAPPED; + version (linux) hints.ai_flags |= AI_V4MAPPED; hints.ai_family = af; () @trusted { lookup.retcode = getaddrinfo(lookup.name.toStringz(), null, af == AddressFamily.UNSPEC ? null : &hints, &lookup.result); } (); if (lookup.retcode == -1)