minor cleanup and addressed a sprintf format warning

This commit is contained in:
Evan Hunt
2018-02-24 17:55:24 -08:00
parent 48ca11df5f
commit ab0fe63f07
4 changed files with 9 additions and 9 deletions

View File

@@ -894,7 +894,7 @@ typedef struct {
unsigned int max;
} intervaltable;
#if HAVE_DNSTAP
#ifdef HAVE_DNSTAP
typedef struct {
const char *name;
unsigned int min;
@@ -978,7 +978,7 @@ check_options(const cfg_obj_t *options, isc_log_t *logctx, isc_mem_t *mctx,
NULL
};
#if HAVE_DNSTAP
#ifdef HAVE_DNSTAP
static fstrmtable fstrm[] = {
{
"fstrm-set-buffer-hint",
@@ -1459,7 +1459,7 @@ check_options(const cfg_obj_t *options, isc_log_t *logctx, isc_mem_t *mctx,
}
}
#if HAVE_DNSTAP
#ifdef HAVE_DNSTAP
for (i = 0; i < sizeof(fstrm) / sizeof(fstrm[0]); i++) {
isc_uint32_t value;