mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 07:32:09 -04:00
move declaration to start of block
This commit is contained in:
parent
e90926bb9e
commit
86c86693e3
1 changed files with 2 additions and 3 deletions
|
|
@ -1034,11 +1034,10 @@ dump_rdatasets_text(isc_mem_t *mctx, const dns_name_t *name,
|
|||
(ctx->style.flags & DNS_STYLEFLAG_NCACHE) == 0) {
|
||||
/* Omit negative cache entries */
|
||||
} else {
|
||||
isc_result_t result;
|
||||
if (rds->ttl < ctx->serve_stale_ttl)
|
||||
fprintf(f, "; stale\n");
|
||||
isc_result_t result =
|
||||
dump_rdataset(mctx, name, rds, ctx,
|
||||
buffer, f);
|
||||
result = dump_rdataset(mctx, name, rds, ctx, buffer, f);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
dumpresult = result;
|
||||
if ((ctx->style.flags & DNS_STYLEFLAG_OMIT_OWNER) != 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue