]> 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:33:36 +0000 (08:33 -0400)
(cherry picked from commit 31b536094313af33dcd84e96eb16ac83b207ed82)

bin/tools/mdig.c

index 4bd5a643127ebd24283d7c2950d3123813cc2e55..48768756e0dbe184a8c13a469ac41bc9b6a8a3ec 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