From 791663dd609f9787011185cf46c6a0d8484b16c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Thu, 23 Aug 2018 10:19:43 +0200 Subject: [PATCH] Whitespace fixes (cherry picked from commit 31b536094313af33dcd84e96eb16ac83b207ed82) --- CHANGES | 2 +- bin/tools/mdig.c | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CHANGES b/CHANGES index 52e280e3a3..c9be170418 100644 --- 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 diff --git a/bin/tools/mdig.c b/bin/tools/mdig.c index 1e649d1a03..e46653a14b 100644 --- a/bin/tools/mdig.c +++ b/bin/tools/mdig.c @@ -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; + 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"); + 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; - } + for (i = 0; i < EDNSOPTS; i++) { + query->ednsopts[i].code = 0; + query->ednsopts[i].length = 0; + query->ednsopts[i].value = NULL; + } } static void