]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice
authorAutomatic Updater <source@isc.org>
Thu, 25 Sep 2008 04:01:06 +0000 (04:01 +0000)
committerAutomatic Updater <source@isc.org>
Thu, 25 Sep 2008 04:01:06 +0000 (04:01 +0000)
lib/dns/journal.c

index b59982dd63d15674873b91d1fb950ae19e8725b9..910e01ed44bd1102ceeab1b4708cdd4b439761d5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2008  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-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: journal.c,v 1.77.2.1.10.23 2008/09/25 02:10:01 marka Exp $ */
+/* $Id: journal.c,v 1.77.2.1.10.24 2008/09/25 04:01:06 tbox Exp $ */
 
 #include <config.h>
 
@@ -71,7 +71,7 @@ static isc_boolean_t bind8_compat = ISC_TRUE; /* XXX config */
        } while (0)
 
 #define CHECK(op) \
-       do { result = (op);                                     \
+       do { result = (op);                                     \
                if (result != ISC_R_SUCCESS) goto failure;      \
        } while (0)
 
@@ -113,11 +113,11 @@ dns_db_createsoatuple(dns_db_t *db, dns_dbversion_t *ver, isc_mem_t *mctx,
        dns_rdataset_init(&rdataset);
        result = dns_db_findrdataset(db, node, ver, dns_rdatatype_soa, 0,
                                     (isc_stdtime_t)0, &rdataset, NULL);
-       if (result != ISC_R_SUCCESS)
+       if (result != ISC_R_SUCCESS)
                goto freenode;
 
        result = dns_rdataset_first(&rdataset);
-       if (result != ISC_R_SUCCESS)
+       if (result != ISC_R_SUCCESS)
                goto freenode;
 
        dns_rdataset_current(&rdataset, &rdata);
@@ -680,7 +680,7 @@ dns_journal_open(isc_mem_t *mctx, const char *filename, isc_boolean_t write,
        int namelen;
        char backup[1024];
        size_t n;
-       
+
        result = journal_open(mctx, filename, write, write, journalp);
        if (result == ISC_R_NOTFOUND) {
                namelen = strlen(filename);
@@ -1988,7 +1988,7 @@ dns_journal_compact(isc_mem_t *mctx, char *filename, isc_uint32_t serial,
                dns_journal_destroy(&j);
                return (ISC_R_SUCCESS);
        }
-               
+
        if (DNS_SERIAL_GT(j->header.begin.serial, serial) ||
            DNS_SERIAL_GT(serial, j->header.end.serial)) {
                dns_journal_destroy(&j);
@@ -2012,7 +2012,7 @@ dns_journal_compact(isc_mem_t *mctx, char *filename, isc_uint32_t serial,
        }
 
        CHECK(journal_open(mctx, newname, ISC_TRUE, ISC_TRUE, &new));
-       
+
        /*
         * Remove overhead so space test below can succeed.
         */
@@ -2070,7 +2070,7 @@ dns_journal_compact(isc_mem_t *mctx, char *filename, isc_uint32_t serial,
                        result = ISC_R_NOMEMORY;
                        goto failure;
                }
-       
+
                CHECK(journal_seek(j, best_guess.offset));
                CHECK(journal_seek(new, indexend));
                for (i = 0; i < copy_length; i += size) {
@@ -2143,7 +2143,7 @@ dns_journal_compact(isc_mem_t *mctx, char *filename, isc_uint32_t serial,
                        goto failure;
                }
        }
-               
+
        dns_journal_destroy(&j);
        result = ISC_R_SUCCESS;