From 3e0b34d0ac3c4377feb6c9b156c81b405dfd35f8 Mon Sep 17 00:00:00 2001 From: Tinderbox User Date: Mon, 11 Jul 2016 23:46:33 +0000 Subject: [PATCH] update copyright notice / whitespace --- bin/named/server.c | 6 +++--- lib/dns/resolver.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/named/server.c b/bin/named/server.c index a2ecdb0bff..7eddd27e07 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -3014,15 +3014,15 @@ create_mapped_acl(void) { isc_netaddr_t addr = { .family = AF_INET6, .type.in6 = IN6ADDR_V4MAPPED_INIT, - .zone = 0 + .zone = 0 }; result = dns_acl_create(ns_g_mctx, 1, &acl); if (result != ISC_R_SUCCESS) return (result); - + result = dns_iptable_addprefix2(acl->iptable, &addr, 96, - ISC_TRUE, ISC_FALSE); + ISC_TRUE, ISC_FALSE); if (result == ISC_R_SUCCESS) dns_acl_attach(acl, &ns_g_mapped); dns_acl_detach(&acl); diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 043691b34b..f274048c6b 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -8619,7 +8619,7 @@ resquery_response(isc_task_t *task, isc_event_t *event) { inc_stats(fctx->res, dns_resstatscounter_nextitem); INSIST(query->dispentry != NULL); result = dns_dispatch_getnext(query->dispentry, &devent); - if (result != ISC_R_SUCCESS) + if (result != ISC_R_SUCCESS) fctx_done(fctx, result, __LINE__); } else if (result == ISC_R_SUCCESS && !HAVE_ANSWER(fctx)) { /*