2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Whitespace fixes

This commit is contained in:
Ondřej Surý
2018-08-23 10:19:43 +02:00
parent 65de91f512
commit 31b5360943
2 changed files with 19 additions and 19 deletions

View File

@@ -845,18 +845,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
@@ -1296,7 +1296,7 @@ plus_option(char *option, struct query *query, bool global)
"specified");
}
value = strtok_r(NULL, "\0",
&last);
&last);
save_opt(query, code, value);
break;
default: