mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 07:30:01 -04:00
[v9_9] minor cleanup
This commit is contained in:
parent
92dec9531f
commit
ab07e0bd1b
1 changed files with 3 additions and 5 deletions
|
|
@ -566,7 +566,7 @@ dump_counters(isc_stats_t *stats, statsformat_t type, void *arg,
|
|||
TRY0(xmlTextWriterEndElement(writer));
|
||||
/* counter */
|
||||
}
|
||||
#else
|
||||
#else /* !NEWSTATS */
|
||||
writer = arg;
|
||||
|
||||
if (category != NULL) {
|
||||
|
|
@ -596,10 +596,8 @@ dump_counters(isc_stats_t *stats, statsformat_t type, void *arg,
|
|||
TRY0(xmlTextWriterEndElement(writer)); /* counter */
|
||||
if (category != NULL)
|
||||
TRY0(xmlTextWriterEndElement(writer)); /* category */
|
||||
#endif
|
||||
/*endif newstats*/
|
||||
#endif
|
||||
/*endif libxml2*/
|
||||
#endif /* NEWSTATS */
|
||||
#endif /* LIBXML2 */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue