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/bin/named fix indentation



details:   https://anonhg.NetBSD.org/src/rev/cf7528759a9a
branches:  trunk
changeset: 327212:cf7528759a9a
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 01 22:49:49 2014 +0000

description:
fix indentation

diffstat:

 external/bsd/bind/dist/bin/named/controlconf.c |   8 ++++----
 external/bsd/bind/dist/bin/named/query.c       |   4 ++--
 external/bsd/bind/dist/bin/named/server.c      |  10 +++++-----
 3 files changed, 11 insertions(+), 11 deletions(-)

diffs (64 lines):

diff -r 3ccce4fb3c68 -r cf7528759a9a external/bsd/bind/dist/bin/named/controlconf.c
--- a/external/bsd/bind/dist/bin/named/controlconf.c    Sat Mar 01 22:49:43 2014 +0000
+++ b/external/bsd/bind/dist/bin/named/controlconf.c    Sat Mar 01 22:49:49 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: controlconf.c,v 1.7 2014/03/01 03:24:32 christos Exp $ */
+/*     $NetBSD: controlconf.c,v 1.8 2014/03/01 22:49:49 christos Exp $ */
 
 /*
  * Copyright (C) 2004-2008, 2011-2014  Internet Systems Consortium, Inc. ("ISC")
@@ -381,9 +381,9 @@
                        break;
                isc_mem_put(listener->mctx, secret.rstart, REGION_SIZE(secret));
                if (result != ISCCC_R_BADAUTH) {
-               log_invalid(&conn->ccmsg, result);
-               goto cleanup;
-       }
+                       log_invalid(&conn->ccmsg, result);
+                       goto cleanup;
+               }
        }
 
        if (key == NULL) {
diff -r 3ccce4fb3c68 -r cf7528759a9a external/bsd/bind/dist/bin/named/query.c
--- a/external/bsd/bind/dist/bin/named/query.c  Sat Mar 01 22:49:43 2014 +0000
+++ b/external/bsd/bind/dist/bin/named/query.c  Sat Mar 01 22:49:49 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: query.c,v 1.14 2014/03/01 03:24:32 christos Exp $      */
+/*     $NetBSD: query.c,v 1.15 2014/03/01 22:50:34 christos Exp $      */
 
 /*
  * Copyright (C) 2004-2014  Internet Systems Consortium, Inc. ("ISC")
@@ -6608,7 +6608,7 @@
                                         * and set the TTL then.
                                         */
                                        if (dns_rdataset_isassociated(rdataset))
-                                       dns_rdataset_disassociate(rdataset);
+                                               dns_rdataset_disassociate(rdataset);
                                } else {
                                        /*
                                         * We will add this rdataset.
diff -r 3ccce4fb3c68 -r cf7528759a9a external/bsd/bind/dist/bin/named/server.c
--- a/external/bsd/bind/dist/bin/named/server.c Sat Mar 01 22:49:43 2014 +0000
+++ b/external/bsd/bind/dist/bin/named/server.c Sat Mar 01 22:49:49 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: server.c,v 1.15 2014/03/01 03:24:32 christos Exp $     */
+/*     $NetBSD: server.c,v 1.16 2014/03/01 22:51:24 christos Exp $     */
 
 /*
  * Copyright (C) 2004-2014  Internet Systems Consortium, Inc. ("ISC")
@@ -9341,10 +9341,10 @@
                        if (strcmp(ptr, "-") != 0) {
                                isc_buffer_t buf;
 
-                       isc_buffer_init(&buf, salt, sizeof(salt));
-                       CHECK(isc_hex_decodestring(ptr, &buf));
-                       saltlen = isc_buffer_usedlength(&buf);
-               }
+                               isc_buffer_init(&buf, salt, sizeof(salt));
+                               CHECK(isc_hex_decodestring(ptr, &buf));
+                               saltlen = isc_buffer_usedlength(&buf);
+                       }
                }
        } else
                CHECK(DNS_R_SYNTAX);



Home | Main Index | Thread Index | Old Index