The `rndc` argument was always overridden by the static configuration,
because the logic for handling the number of dnstap files to retain
was both backwards and a bit redundant.
fstrm_iothr_destroy(&env->iothr);
}
- if (roll != 0) {
+ if (roll == 0) {
roll = env->rolls;
}
char *filename = isc_mem_strdup(env->mctx, env->path);
file.name = filename;
file.stream = NULL;
- file.versions = roll != 0 ? roll : env->rolls;
+ file.versions = roll;
file.maximum_size = 0;
file.maximum_reached = false;
file.suffix = env->suffix;