]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Whitespace fixes
authorOndřej Surý <ondrej@sury.org>
Thu, 23 Aug 2018 08:19:43 +0000 (10:19 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 24 Aug 2018 12:34:44 +0000 (08:34 -0400)
(cherry picked from commit 31b536094313af33dcd84e96eb16ac83b207ed82)

CHANGES
bin/tools/mdig.c

diff --git a/CHANGES b/CHANGES
index 52e280e3a356898fb74928dece0528f50d51d8d1..c9be170418a3a1628994ec5cf23846d65751cdcd 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -86,7 +86,7 @@
                        zone transfers to prevent journal corruption. [GL #339]
 
 4983.  [cleanup]       Remove the deprecated flag from "answer-cookie";
-                        it will be allowed to persist into 9.13. [GL #275].
+                       it will be allowed to persist into 9.13. [GL #275].
 
 4982.  [cleanup]       Return FORMERR if the question section is empty
                        and no COOKIE option is present; this restores
index 1e649d1a03b95a4817eb8e51cb083794faa0b5ba..e46653a14b2b2832c5926e1eb5e1bf74704cb031 100644 (file)
@@ -855,18 +855,18 @@ parse_xint(uint32_t *uip, const char *value, uint32_t max,
 
 static void
 newopts(struct query *query) {
-        size_t len = sizeof(query->ednsopts[0]) * EDNSOPTS;
-        size_t i;
-
-        query->ednsopts = isc_mem_allocate(mctx, len);
-        if (query->ednsopts == NULL)
-                fatal("out of memory");
-
-        for (i = 0; i < EDNSOPTS; i++) {
-                query->ednsopts[i].code = 0;
-                query->ednsopts[i].length = 0;
-                query->ednsopts[i].value = NULL;
-        }
+       size_t len = sizeof(query->ednsopts[0]) * EDNSOPTS;
+       size_t i;
+
+       query->ednsopts = isc_mem_allocate(mctx, len);
+       if (query->ednsopts == NULL)
+               fatal("out of memory");
+
+       for (i = 0; i < EDNSOPTS; i++) {
+               query->ednsopts[i].code = 0;
+               query->ednsopts[i].length = 0;
+               query->ednsopts[i].value = NULL;
+       }
 }
 
 static void