]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice
authorAutomatic Updater <source@isc.org>
Tue, 30 Aug 2011 23:46:53 +0000 (23:46 +0000)
committerAutomatic Updater <source@isc.org>
Tue, 30 Aug 2011 23:46:53 +0000 (23:46 +0000)
21 files changed:
bin/named/config.c
bin/named/include/named/zoneconf.h
bin/named/zoneconf.c
bin/tests/adb_test.c
bin/tests/system/inline/clean.sh
bin/tests/system/inline/ns1/named.conf
bin/tests/system/inline/ns2/bits.db.in
bin/tests/system/inline/ns2/named.conf
bin/tests/system/inline/ns3/named.conf
bin/tests/system/inline/ns3/sign.sh
bin/tests/system/inline/ns4/named.conf
bin/tests/system/inline/ns4/noixfr.db.in
bin/tests/system/inline/setup.sh
bin/tests/system/inline/tests.sh
lib/dns/include/dns/events.h
lib/dns/include/dns/journal.h
lib/dns/include/dns/update.h
lib/dns/journal.c
lib/dns/update.c
lib/dns/zone.c
lib/lwres/getnameinfo.c

index 2a3dcf02221c1e09db281f625542c044218e0054..93a7f1527a56c6cfa1a18a23b48fb5552f2744f1 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: config.c,v 1.120 2011/08/30 05:16:10 marka Exp $ */
+/* $Id: config.c,v 1.121 2011/08/30 23:46:51 tbox Exp $ */
 
 /*! \file */
 
@@ -296,7 +296,7 @@ ns_checknames_get(const cfg_obj_t **maps, const char *which,
                        return (ISC_R_NOTFOUND);
                checknames = NULL;
                if (cfg_map_get(maps[i], "check-names",
-                               &checknames) == ISC_R_SUCCESS) {
+                               &checknames) == ISC_R_SUCCESS) {
                        /*
                         * Zone map entry is not a list.
                         */
index 95ed2a64dfd063885cafe99106455493bb32a4c9..0e684d2d4c7e3780e911ea93031f5fbb70364fb8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007, 2010  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2010, 2011  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2002  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zoneconf.h,v 1.29 2011/08/30 05:16:11 marka Exp $ */
+/* $Id: zoneconf.h,v 1.30 2011/08/30 23:46:51 tbox Exp $ */
 
 #ifndef NS_ZONECONF_H
 #define NS_ZONECONF_H 1
index 55ca58c91c995f996d74fb28c466db544241e8d6..fb0e3a337995389726e7576d926bcb2be59162a1 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zoneconf.c,v 1.180 2011/08/30 12:45:43 marka Exp $ */
+/* $Id: zoneconf.c,v 1.181 2011/08/30 23:46:51 tbox Exp $ */
 
 /*% */
 
@@ -861,7 +861,7 @@ ns_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig,
                dns_zone_settype(zone, dns_zone_master);
        } else
                dns_zone_settype(zone, ztype);
-       
+
 
        obj = NULL;
        result = cfg_map_get(zoptions, "database", &obj);
@@ -1314,7 +1314,7 @@ ns_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig,
                        dns_zone_setkeyopt(zone, DNS_ZONEKEY_ALLOW, allow);
                        dns_zone_setkeyopt(zone, DNS_ZONEKEY_MAINTAIN, maint);
                }
-       } 
+       }
 
        if (ztype == dns_zone_slave) {
                RETERR(configure_zone_acl(zconfig, vconfig, config,
@@ -1452,7 +1452,7 @@ ns_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig,
                                                             keynames, count);
                        ns_config_putipandkeylist(mctx, &addrs, &keynames,
                                                  count);
-               } else 
+               } else
                        result = dns_zone_setmasters(mayberaw, NULL, 0);
                RETERR(result);
 
@@ -1513,13 +1513,13 @@ ns_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig,
                result = ns_config_get(maps, "alt-transfer-source", &obj);
                INSIST(result == ISC_R_SUCCESS && obj != NULL);
                RETERR(dns_zone_setaltxfrsource4(mayberaw,
-                                                cfg_obj_assockaddr(obj)));
+                                                cfg_obj_assockaddr(obj)));
 
                obj = NULL;
                result = ns_config_get(maps, "alt-transfer-source-v6", &obj);
                INSIST(result == ISC_R_SUCCESS && obj != NULL);
                RETERR(dns_zone_setaltxfrsource6(mayberaw,
-                                                cfg_obj_assockaddr(obj)));
+                                                cfg_obj_assockaddr(obj)));
 
                obj = NULL;
                (void)ns_config_get(maps, "use-alt-transfer-source", &obj);
@@ -1610,7 +1610,7 @@ ns_zone_reusable(dns_zone_t *zone, const cfg_obj_t *zconfig) {
                return (ISC_FALSE);
 
        obj = NULL;
-        (void)cfg_map_get(zoptions, "signing", &obj);
+       (void)cfg_map_get(zoptions, "signing", &obj);
        if (obj == NULL || !cfg_obj_asboolean(obj)) {
                dns_zone_t *raw = NULL;
                dns_zone_getraw(zone, &raw);
index b4df883a598d492a5d847621ae455fdc831dada6..ab339cf0a4cd394fefdc70940b36303f141e02b1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009, 2011  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: adb_test.c,v 1.72 2011/08/30 21:51:34 marka Exp $ */
+/* $Id: adb_test.c,v 1.73 2011/08/30 23:46:51 tbox Exp $ */
 
 /*! \file */
 
index 0d87e303292e7ed7571d0ee9a43b08cf0ad4a177..7dc893b5b2f98d49bb8a1bf4b58da3253ecba9ed 100644 (file)
@@ -1,3 +1,19 @@
+# Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
+#
+# 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.
+
+# $Id: clean.sh,v 1.2 2011/08/30 23:46:52 tbox Exp $
+
 rm -f */named.memstats
 rm -f */named.run
 rm -f */trusted.conf
index 55caaad805ade5db3053db3150f433c23f427bf0..6f379b36d67e348bf2dae3a03b7715cc9c481283 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.1 2011/08/30 05:16:13 marka Exp $ */
+/* $Id: named.conf,v 1.2 2011/08/30 23:46:52 tbox Exp $ */
 
 // NS1
 
index d62fbf1d42abc3eb0b4aa87ee1d04884fd87f15a..01865d69a9d9b8c298af4a1f553a4d48440f2012 100644 (file)
@@ -1,5 +1,4 @@
-; Copyright (C) 2004, 2007-2011  Internet Systems Consortium, Inc. ("ISC")
-; Copyright (C) 2000-2002  Internet Software Consortium.
+; Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
 ;
 ; Permission to use, copy, modify, and/or distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
@@ -13,7 +12,7 @@
 ; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 ; PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: bits.db.in,v 1.1 2011/08/30 05:16:13 marka Exp $
+; $Id: bits.db.in,v 1.2 2011/08/30 23:46:52 tbox Exp $
 
 $TTL 300       ; 5 minutes
 @                      IN SOA  ns2 . (
index 67122de1746a9d77d4fb072f1d12c6a8a3273ce5..2392a647180acc4df59d619f9b7dd31613ead036 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.1 2011/08/30 05:16:13 marka Exp $ */
+/* $Id: named.conf,v 1.2 2011/08/30 23:46:52 tbox Exp $ */
 
 // NS2
 
index 2cca211fad813196bc642a99a473cdce88d8c6fc..a17c07e17d8a3be09531b252cdaf2b7495c03991 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.1 2011/08/30 05:16:13 marka Exp $ */
+/* $Id: named.conf,v 1.2 2011/08/30 23:46:52 tbox Exp $ */
 
 // NS2
 
index 1eea982dc076bb3c0aa60d69152ea8e2af8c31f3..cf0095c6265ef87dbb1b01d8877ecc3487719e44 100644 (file)
@@ -1,7 +1,6 @@
 #!/bin/sh -e
 #
-# Copyright (C) 2004, 2006-2011  Internet Systems Consortium, Inc. ("ISC")
-# Copyright (C) 2000-2002  Internet Software Consortium.
+# Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
 #
 # Permission to use, copy, modify, and/or distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
@@ -15,7 +14,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: sign.sh,v 1.1 2011/08/30 05:16:13 marka Exp $
+# $Id: sign.sh,v 1.2 2011/08/30 23:46:52 tbox Exp $
 
 SYSTEMTESTTOP=../..
 . $SYSTEMTESTTOP/conf.sh
index d02004d6ae3eef3d6fc82c8e57d38a7736b0936f..3195b4f08835bf4ec1569ea3f8596a68e53f8b26 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.1 2011/08/30 05:16:13 marka Exp $ */
+/* $Id: named.conf,v 1.2 2011/08/30 23:46:52 tbox Exp $ */
 
 // NS2
 
index 0d7317638dc3e18ad030cade16031014a302a0a3..b4766a4bb4e004e3afdd2beae419e9368d91bf4b 100644 (file)
@@ -1,5 +1,4 @@
-; Copyright (C) 2004, 2007-2011  Internet Systems Consortium, Inc. ("ISC")
-; Copyright (C) 2000-2002  Internet Software Consortium.
+; Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
 ;
 ; Permission to use, copy, modify, and/or distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
@@ -13,7 +12,7 @@
 ; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 ; PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: noixfr.db.in,v 1.1 2011/08/30 05:16:13 marka Exp $
+; $Id: noixfr.db.in,v 1.2 2011/08/30 23:46:52 tbox Exp $
 
 $TTL 300       ; 5 minutes
 @                      IN SOA  ns4 . (
index 9c1a1d298a7acef057228ac3d058206e20afa43e..26004b636b0884a7d06ab3009086ade6508f295f 100644 (file)
@@ -1,3 +1,19 @@
+# Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
+#
+# 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.
+
+# $Id: setup.sh,v 1.2 2011/08/30 23:46:52 tbox Exp $
+
 sh clean.sh
 
 touch ns2/trusted.conf
index ee8dce937f86365b2191f7b5e69b461739581cab..862e8ee063a5c9dd175629e9e8cd6b89b4bd21fe 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2008  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
 #
 # Permission to use, copy, modify, and/or distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +14,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.1 2011/08/30 05:16:12 marka Exp $
+# $Id: tests.sh,v 1.2 2011/08/30 23:46:52 tbox Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
index 1368a7225c8bfa790381d6d6f31b995ba444075b..563031a9d4bf23895f4bf0d5b21808f4de42f0de 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007, 2009, 2010  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2009-2011  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2002  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: events.h,v 1.57 2011/08/30 05:16:15 marka Exp $ */
+/* $Id: events.h,v 1.58 2011/08/30 23:46:53 tbox Exp $ */
 
 #ifndef DNS_EVENTS_H
 #define DNS_EVENTS_H 1
index 2a98fd2a42ffa4493d7c6c38316d9c6afa17e2eb..a1ccdb6195c0b1958ed246b443bdef2aa4899089 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2009  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2009, 2011  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: journal.h,v 1.38 2011/08/30 05:16:15 marka Exp $ */
+/* $Id: journal.h,v 1.39 2011/08/30 23:46:53 tbox Exp $ */
 
 #ifndef DNS_JOURNAL_H
 #define DNS_JOURNAL_H 1
index 328c038e85a48ee87621c5b78bd7759ec553039d..2d2c491f38a3ae6c0d8ee6cb897493703f931215 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: update.h,v 1.4 2011/08/30 13:02:39 marka Exp $ */
+/* $Id: update.h,v 1.5 2011/08/30 23:46:53 tbox Exp $ */
 
 #ifndef DNS_UPDATE_H
 #define DNS_UPDATE_H 1
@@ -32,7 +32,7 @@
 
 typedef struct {
        void (*func)(void *arg, dns_zone_t *zone, int level,
-                    const char *message); 
+                    const char *message);
        void *arg;
 } dns_update_log_t;
 
@@ -56,8 +56,8 @@ dns_update_soaserial(isc_uint32_t serial, dns_updatemethod_t method);
 
 isc_result_t
 dns_update_signatures(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db,
-                      dns_dbversion_t *oldver, dns_dbversion_t *newver,
-                      dns_diff_t *diff, isc_uint32_t sigvalidityinterval);
+                     dns_dbversion_t *oldver, dns_dbversion_t *newver,
+                     dns_diff_t *diff, isc_uint32_t sigvalidityinterval);
 
 ISC_LANG_ENDDECLS
 
index 4c6b74153a1a93d40385ecad64803a2261f09962..96297d50647560a35ec37ea48583525b253ee172 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: journal.c,v 1.115 2011/08/30 05:16:14 marka Exp $ */
+/* $Id: journal.c,v 1.116 2011/08/30 23:46:52 tbox Exp $ */
 
 #include <config.h>
 
@@ -1079,7 +1079,7 @@ dns_journal_commit(dns_journal_t *j) {
 
        REQUIRE(DNS_JOURNAL_VALID(j));
        REQUIRE(j->state == JOURNAL_STATE_TRANSACTION ||
-               j->state == JOURNAL_STATE_BITWS);
+               j->state == JOURNAL_STATE_BITWS);
 
        /*
         * Just write out a updated header.
index 8c131f0b444b9b1721d446d6e2ed7777e6d98a8d..2f7cdaa56b8e0c6e005769860b0b60e5076ddaaa 100644 (file)
@@ -1,6 +1,5 @@
 /*
- * Copyright (C) 2004-2011  Internet Systems Consortium, Inc. ("ISC")
- * Copyright (C) 1999-2003  Internet Software Consortium.
+ * Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -15,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: update.c,v 1.4 2011/08/30 05:16:14 marka Exp $ */
+/* $Id: update.c,v 1.5 2011/08/30 23:46:52 tbox Exp $ */
 
 #include <config.h>
 
index 98c17a4007dae985168a7035f42906046ad560e1..061cc8b98bf325cd141ce4290ca7649889fda7fb 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zone.c,v 1.626 2011/08/30 14:01:53 marka Exp $ */
+/* $Id: zone.c,v 1.627 2011/08/30 23:46:52 tbox Exp $ */
 
 /*! \file */
 
@@ -11791,7 +11791,7 @@ struct secure_serial {
 static void
 update_log_cb(void *arg, dns_zone_t *zone, int level, const char *message) {
        UNUSED(arg);
-        dns_zone_log(zone, level, "%s", message);
+       dns_zone_log(zone, level, "%s", message);
 }
 
 static void
@@ -11807,7 +11807,7 @@ receive_secure_serial(isc_task_t *task, isc_event_t *event) {
        isc_uint32_t oldserial, newserial;
        dns_diffop_t op = DNS_DIFFOP_ADD;
        dns_diff_t diff;
-       dns_difftuple_t *tuple = NULL, *soatuple = NULL;
+       dns_difftuple_t *tuple = NULL, *soatuple = NULL;
        dns_update_log_t log = { update_log_cb, NULL };
        isc_time_t timenow;
 
@@ -11815,7 +11815,7 @@ receive_secure_serial(isc_task_t *task, isc_event_t *event) {
        end = ((struct secure_serial *)event)->serial;
 
        dns_diff_init(zone->mctx, &diff);
-       
+
        UNUSED(task);
        CHECK(dns_journal_open(zone->raw->mctx, zone->raw->journal,
                               DNS_JOURNAL_WRITE, &rjournal));
@@ -11892,9 +11892,9 @@ receive_secure_serial(isc_task_t *task, isc_event_t *event) {
 
                op = (n_soa == 1) ? DNS_DIFFOP_DEL : DNS_DIFFOP_ADD;
 
-                CHECK(dns_difftuple_create(diff.mctx, op, name, ttl, rdata,
-                                           &tuple));
-                dns_diff_appendminimal(&diff, &tuple);
+               CHECK(dns_difftuple_create(diff.mctx, op, name, ttl, rdata,
+                                          &tuple));
+               dns_diff_appendminimal(&diff, &tuple);
        }
        if (result == ISC_R_NOMORE)
                result = ISC_R_SUCCESS;
@@ -12000,7 +12000,7 @@ receive_secure_db(isc_task_t *task, isc_event_t *event) {
        dns_rdataset_t rdataset;
        dns_dbversion_t *version = NULL;
        isc_time_t loadtime;
-       
+
        UNUSED(task);
 
        zone = event->ev_arg;
@@ -12008,7 +12008,7 @@ receive_secure_db(isc_task_t *task, isc_event_t *event) {
        dns_fixedname_init(&fname);
        name = dns_fixedname_name(&fname);
        dns_rdataset_init(&rdataset);
-       
+
        TIME_NOW(&loadtime);
 
        result = dns_db_create(zone->mctx, zone->db_argv[0],
@@ -12057,7 +12057,7 @@ receive_secure_db(isc_task_t *task, isc_event_t *event) {
                                                    &rdataset, 0, NULL);
                        if (result != ISC_R_SUCCESS)
                                goto failure;
-               
+
                        dns_rdataset_disassociate(&rdataset);
                }
                dns_rdatasetiter_destroy(&rdsit);
@@ -12068,15 +12068,15 @@ receive_secure_db(isc_task_t *task, isc_event_t *event) {
        dns_db_closeversion(db, &version, ISC_TRUE);
        LOCK_ZONE(zone);
        DNS_ZONE_SETFLAG(zone, DNS_ZONEFLG_NEEDNOTIFY);
-        result = zone_postload(zone, db, loadtime, ISC_R_SUCCESS);
+       result = zone_postload(zone, db, loadtime, ISC_R_SUCCESS);
        zone_needdump(zone, 0); /* XXXMPA */
-        UNLOCK_ZONE(zone);
+       UNLOCK_ZONE(zone);
 
  failure:
        if (result != ISC_R_SUCCESS)
                dns_zone_log(zone, ISC_LOG_ERROR, "receive_secure_db: %s",
                             dns_result_totext(result));
-       
+
        if (dns_rdataset_isassociated(&rdataset))
                dns_rdataset_disassociate(&rdataset);
        if (db != NULL) {
@@ -15097,7 +15097,7 @@ void
 dns_zone_getraw(dns_zone_t *zone, dns_zone_t **raw) {
        REQUIRE(DNS_ZONE_VALID(zone));
        REQUIRE(raw != NULL && *raw == NULL);
-       
+
        LOCK(&zone->lock);
        if (zone->raw != NULL)
                dns_zone_attach(zone->raw, raw);
index e97ed7384c66034695c7b37ad85733bbc3add08a..4adf08b73f4dda0bcaca143bf4df19600ccb58d4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Portions Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2004, 2005, 2007, 2011  Internet Systems Consortium, Inc. ("ISC")
  * Portions Copyright (C) 1999-2001, 2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: getnameinfo.c,v 1.40 2011/08/30 00:18:43 marka Exp $ */
+/* $Id: getnameinfo.c,v 1.41 2011/08/30 23:46:53 tbox Exp $ */
 
 /*! \file */
 
  *    sockaddr sa which is salen bytes long. The hostname is of length
  *    hostlen and is returned via *host. The maximum length of the hostname
  *    is 1025 bytes: #NI_MAXHOST.
- * 
+ *
  *    The name of the service associated with the port number in sa is
  *    returned in *serv. It is servlen bytes long. The maximum length of the
  *    service name is #NI_MAXSERV - 32 bytes.
- * 
+ *
  *    The flags argument sets the following bits:
- * 
+ *
  * \li   #NI_NOFQDN:
  *           A fully qualified domain name is not required for local hosts.
  *           The local part of the fully qualified domain name is returned
  *           instead.
- * 
+ *
  * \li   #NI_NUMERICHOST
  *           Return the address in numeric form, as if calling inet_ntop(),
  *           instead of a host name.
- * 
+ *
  * \li   #NI_NAMEREQD
  *           A name is required. If the hostname cannot be found in the DNS
  *           and this flag is set, a non-zero error code is returned. If the
  *           hostname is not found and the flag is not set, the address is
  *           returned in numeric form.
- * 
+ *
  * \li   #NI_NUMERICSERV
  *           The service name is returned as a digit string representing the
  *           port number.
- * 
+ *
  * \li   #NI_DGRAM
  *           Specifies that the service being looked up is a datagram
  *           service, and causes getservbyport() to be called with a second
  *           argument of "udp" instead of its default of "tcp". This is
  *           required for the few ports (512-514) that have different
  *           services for UDP and TCP.
- * 
+ *
  * \section getnameinfo_return Return Values
- * 
+ *
  *    lwres_getnameinfo() returns 0 on success or a non-zero error code if
  *    an error occurs.
- * 
+ *
  * \section getname_see See Also
- * 
- *    RFC2133, getservbyport(), 
+ *
+ *    RFC2133, getservbyport(),
  *    lwres_getnamebyaddr(). lwres_net_ntop().
- * 
+ *
  * \section getnameinfo_bugs Bugs
- * 
+ *
  *    RFC2133 fails to define what the nonzero return values of
  *    getnameinfo() are.
  */