From 191294568281c77c0201ea228b7ff35122b50785 Mon Sep 17 00:00:00 2001 From: Tinderbox User Date: Mon, 5 Dec 2016 23:51:33 +0000 Subject: [PATCH] update copyright notice / whitespace --- lib/isc/netaddr.c | 4 ++-- lib/isc/tests/netaddr_test.c | 14 +++++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/lib/isc/netaddr.c b/lib/isc/netaddr.c index c60afbb297..986b3b4270 100644 --- a/lib/isc/netaddr.c +++ b/lib/isc/netaddr.c @@ -419,8 +419,8 @@ isc_netaddr_issitelocal(isc_netaddr_t *na) { } #define ISC_IPADDR_ISNETZERO(i) \ - (((isc_uint32_t)(i) & ISC__IPADDR(0xff000000)) \ - == ISC__IPADDR(0x00000000)) + (((isc_uint32_t)(i) & ISC__IPADDR(0xff000000)) \ + == ISC__IPADDR(0x00000000)) isc_boolean_t isc_netaddr_isnetzero(isc_netaddr_t *na) { diff --git a/lib/isc/tests/netaddr_test.c b/lib/isc/tests/netaddr_test.c index 767bb32473..89bbd4e3b3 100644 --- a/lib/isc/tests/netaddr_test.c +++ b/lib/isc/tests/netaddr_test.c @@ -1,9 +1,17 @@ /* * 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/. + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. */ /* ! \file */