Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/bind/dist fix indentation



details:   https://anonhg.NetBSD.org/src/rev/8fdc5db736e7
branches:  trunk
changeset: 793954:8fdc5db736e7
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 01 22:53:11 2014 +0000

description:
fix indentation

diffstat:

 external/bsd/bind/dist/bin/tests/dst/t_dst.c       |   8 ++++----
 external/bsd/bind/dist/bin/tests/system/rpz/rpz.c  |  10 +++++-----
 external/bsd/bind/dist/lib/dns/adb.c               |   8 ++++----
 external/bsd/bind/dist/lib/dns/dnssec.c            |   8 ++++----
 external/bsd/bind/dist/lib/dns/masterdump.c        |   4 ++--
 external/bsd/bind/dist/lib/dns/rbtdb.c             |   4 ++--
 external/bsd/bind/dist/lib/isc/include/isc/queue.h |   6 +++---
 7 files changed, 24 insertions(+), 24 deletions(-)

diffs (179 lines):

diff -r ac30191de050 -r 8fdc5db736e7 external/bsd/bind/dist/bin/tests/dst/t_dst.c
--- a/external/bsd/bind/dist/bin/tests/dst/t_dst.c      Sat Mar 01 22:52:19 2014 +0000
+++ b/external/bsd/bind/dist/bin/tests/dst/t_dst.c      Sat Mar 01 22:53:11 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_dst.c,v 1.8 2014/03/01 03:24:33 christos Exp $       */
+/*     $NetBSD: t_dst.c,v 1.9 2014/03/01 22:53:11 christos Exp $       */
 
 /*
  * Copyright (C) 2004, 2005, 2007-2009, 2011-2014  Internet Systems Consortium, Inc. ("ISC")
@@ -277,9 +277,9 @@
 
  cleanup:
        if (key1 != NULL)
-       dst_key_free(&key1);
+               dst_key_free(&key1);
        if (key2 != NULL)
-       dst_key_free(&key2);
+               dst_key_free(&key2);
 }
 
 static void
@@ -412,7 +412,7 @@
                use(key, mctx, ISC_R_SUCCESS, nfails);
  cleanup:
        if (key != NULL)
-       dst_key_free(&key);
+               dst_key_free(&key);
 }
 
 #define        DBUFSIZ 25
diff -r ac30191de050 -r 8fdc5db736e7 external/bsd/bind/dist/bin/tests/system/rpz/rpz.c
--- a/external/bsd/bind/dist/bin/tests/system/rpz/rpz.c Sat Mar 01 22:52:19 2014 +0000
+++ b/external/bsd/bind/dist/bin/tests/system/rpz/rpz.c Sat Mar 01 22:53:11 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpz.c,v 1.5 2013/07/27 19:23:11 christos Exp $ */
+/*     $NetBSD: rpz.c,v 1.6 2014/03/01 22:54:02 christos Exp $ */
 
 /*
  * Copyright (C) 2011-2013  Internet Systems Consortium, Inc. ("ISC")
@@ -42,7 +42,7 @@
 #else
                return (1);
 #endif
-           }
+       }
 
        if (!strcasecmp(argv[1], "nsdname")) {
 #ifdef ENABLE_RPZ_NSDNAME
@@ -50,8 +50,8 @@
 #else
                return (1);
 #endif
-           }
+       }
 
-           fputs(USAGE, stderr);
-           return (1);
+       fputs(USAGE, stderr);
+       return (1);
 }
diff -r ac30191de050 -r 8fdc5db736e7 external/bsd/bind/dist/lib/dns/adb.c
--- a/external/bsd/bind/dist/lib/dns/adb.c      Sat Mar 01 22:52:19 2014 +0000
+++ b/external/bsd/bind/dist/lib/dns/adb.c      Sat Mar 01 22:53:11 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adb.c,v 1.7 2014/03/01 03:24:36 christos Exp $ */
+/*     $NetBSD: adb.c,v 1.8 2014/03/01 22:57:23 christos Exp $ */
 
 /*
  * Copyright (C) 2004-2014  Internet Systems Consortium, Inc. ("ISC")
@@ -4026,8 +4026,8 @@
        addr->srtt = (unsigned int) new_srtt;
 
        if (addr->entry->expires == 0) {
-       isc_stdtime_get(&now);
-       addr->entry->expires = now + ADB_ENTRY_WINDOW;
+               isc_stdtime_get(&now);
+               addr->entry->expires = now + ADB_ENTRY_WINDOW;
        }
 
        UNLOCK(&adb->entrylocks[bucket]);
@@ -4392,7 +4392,7 @@
 
        if (entry->expires == 0) {
                isc_stdtime_get(&now);
-       entry->expires = now + ADB_ENTRY_WINDOW;
+               entry->expires = now + ADB_ENTRY_WINDOW;
        }
 
        want_check_exit = dec_entry_refcnt(adb, overmem, entry, ISC_FALSE);
diff -r ac30191de050 -r 8fdc5db736e7 external/bsd/bind/dist/lib/dns/dnssec.c
--- a/external/bsd/bind/dist/lib/dns/dnssec.c   Sat Mar 01 22:52:19 2014 +0000
+++ b/external/bsd/bind/dist/lib/dns/dnssec.c   Sat Mar 01 22:53:11 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dnssec.c,v 1.8 2014/03/01 03:24:36 christos Exp $      */
+/*     $NetBSD: dnssec.c,v 1.9 2014/03/01 22:59:10 christos Exp $      */
 
 /*
  * Copyright (C) 2004-2014  Internet Systems Consortium, Inc. ("ISC")
@@ -179,12 +179,12 @@
        if (ret != ISC_R_SUCCESS)
                return (ret);
        if (downcase) {
-       dns_fixedname_init(&fname);
+               dns_fixedname_init(&fname);
 
                RUNTIME_CHECK(dns_name_downcase(&rrsig->signer,
                                                dns_fixedname_name(&fname),
                                                NULL) == ISC_R_SUCCESS);
-       dns_name_toregion(dns_fixedname_name(&fname), &r);
+               dns_name_toregion(dns_fixedname_name(&fname), &r);
        } else
                dns_name_toregion(&rrsig->signer, &r);
 
@@ -429,7 +429,7 @@
                } else if (isc_serial_lt(sig.timeexpire, (isc_uint32_t)now)) {
                        inc_stat(dns_dnssecstats_fail);
                        return (DNS_R_SIGEXPIRED);
-       }
+               }
        }
 
        /*
diff -r ac30191de050 -r 8fdc5db736e7 external/bsd/bind/dist/lib/dns/masterdump.c
--- a/external/bsd/bind/dist/lib/dns/masterdump.c       Sat Mar 01 22:52:19 2014 +0000
+++ b/external/bsd/bind/dist/lib/dns/masterdump.c       Sat Mar 01 22:53:11 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: masterdump.c,v 1.8 2014/03/01 03:24:36 christos Exp $  */
+/*     $NetBSD: masterdump.c,v 1.9 2014/03/01 23:02:14 christos Exp $  */
 
 /*
  * Copyright (C) 2004-2009, 2011-2014  Internet Systems Consortium, Inc. ("ISC")
@@ -1736,7 +1736,7 @@
                goto cleanup;
 
        if (format == dns_masterformat_text)
-       result = isc_file_openunique(tempname, &f);
+               result = isc_file_openunique(tempname, &f);
        else
                result = isc_file_bopenunique(tempname, &f);
        if (result != ISC_R_SUCCESS) {
diff -r ac30191de050 -r 8fdc5db736e7 external/bsd/bind/dist/lib/dns/rbtdb.c
--- a/external/bsd/bind/dist/lib/dns/rbtdb.c    Sat Mar 01 22:52:19 2014 +0000
+++ b/external/bsd/bind/dist/lib/dns/rbtdb.c    Sat Mar 01 22:53:11 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rbtdb.c,v 1.16 2014/03/01 03:24:37 christos Exp $      */
+/*     $NetBSD: rbtdb.c,v 1.17 2014/03/01 23:03:58 christos Exp $      */
 
 /*
  * Copyright (C) 2004-2014  Internet Systems Consortium, Inc. ("ISC")
@@ -5950,7 +5950,7 @@
                                        topheader->type ==
                                        RBTDB_RDATATYPE_VALUE(0, covers))) {
                                        break;
-                       }
+                               }
                        }
                        if (topheader != NULL && EXISTS(topheader) &&
                            topheader->rdh_ttl >= now) {
diff -r ac30191de050 -r 8fdc5db736e7 external/bsd/bind/dist/lib/isc/include/isc/queue.h
--- a/external/bsd/bind/dist/lib/isc/include/isc/queue.h        Sat Mar 01 22:52:19 2014 +0000
+++ b/external/bsd/bind/dist/lib/isc/include/isc/queue.h        Sat Mar 01 22:53:11 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: queue.h,v 1.5 2013/07/27 19:23:13 christos Exp $       */
+/*     $NetBSD: queue.h,v 1.6 2014/03/01 23:07:24 christos Exp $       */
 
 /*
  * Copyright (C) 2011-2013  Internet Systems Consortium, Inc. ("ISC")
@@ -134,9 +134,9 @@
                                        (queue).head = (queue).tail = NULL; \
                                        UNLOCK(&(queue).taillock); \
                                        break; \
+                               } \
+                               UNLOCK(&(queue).taillock); \
                        } \
-                       UNLOCK(&(queue).taillock); \
-               } \
                        (queue).head = ret->link.next; \
                        (queue).head->link.prev = NULL; \
                        break; \



Home | Main Index | Thread Index | Old Index