From c43f150d0a3dc71653dfe280f8e2a4af5b9259ad Mon Sep 17 00:00:00 2001 From: Tinderbox User Date: Mon, 26 Dec 2016 23:46:20 +0000 Subject: [PATCH] update copyright notice / whitespace --- bin/tests/system/checkconf/bad-catz-zone.conf | 8 ++++++++ bin/tests/system/checkconf/bad-rpz-zone.conf | 8 ++++++++ lib/dns/client.c | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/bin/tests/system/checkconf/bad-catz-zone.conf b/bin/tests/system/checkconf/bad-catz-zone.conf index 1d9f128d4c..710f4fcae0 100644 --- a/bin/tests/system/checkconf/bad-catz-zone.conf +++ b/bin/tests/system/checkconf/bad-catz-zone.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { catalog-zones { zone "nonexistent"; diff --git a/bin/tests/system/checkconf/bad-rpz-zone.conf b/bin/tests/system/checkconf/bad-rpz-zone.conf index 2b9399d05f..07ed2a7887 100644 --- a/bin/tests/system/checkconf/bad-rpz-zone.conf +++ b/bin/tests/system/checkconf/bad-rpz-zone.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { response-policy { zone "nonexistent"; diff --git a/lib/dns/client.c b/lib/dns/client.c index d91862c43c..98e80955a0 100644 --- a/lib/dns/client.c +++ b/lib/dns/client.c @@ -2868,7 +2868,7 @@ dns_client_startupdate(dns_client_t *client, dns_rdataclass_t rdclass, runinevent = isc_event_allocate(client->mctx, client->task, DNS_EVENT_RUNIN, runintask, uctx, sizeof(*runinevent)); - if (runinevent == NULL) { + if (runinevent == NULL) { dns_view_detach(&view); isc_mem_put(client->mctx, uctx, sizeof(*uctx)); return (ISC_R_NOMEMORY);