fix indentation trunk
authorchristos <christos@NetBSD.org>
Sat, 01 Mar 2014 22:49:49 +0000
branchtrunk
changeset 225057 c6d17c85bca0
parent 225056 5cce7c52d30d
child 225058 71ae3c5af49b
fix indentation
external/bsd/bind/dist/bin/named/controlconf.c
external/bsd/bind/dist/bin/named/query.c
external/bsd/bind/dist/bin/named/server.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) {
--- 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.
--- 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);