aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/ares_init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ares/ares_init.c b/ares/ares_init.c
index 72ef990fb..bd2323452 100644
--- a/ares/ares_init.c
+++ b/ares/ares_init.c
@@ -406,7 +406,7 @@ DhcpNameServer
{
status = config_nameserver(&servers, &nservers, buf);
if (status == ARES_SUCCESS)
- goto okay;
+ goto okay;
}
if (IsNT)
@@ -552,7 +552,9 @@ DhcpNameServer
}
/* If we got any name server entries, fill them in. */
+#ifdef WIN32
okay:
+#endif
if (servers)
{
channel->servers = servers;