change "expr == false" to "!expr" in conditionals

(cherry picked from commit 57e54c46e4)
This commit is contained in:
Evan Hunt
2020-03-30 13:49:55 -07:00
parent 00c816778d
commit c19a593d3e
31 changed files with 73 additions and 78 deletions

View File

@@ -811,7 +811,7 @@ check_recursionacls(cfg_aclconfctx_t *actx, const cfg_obj_t *voptions,
continue;
}
if (recursion == false && !dns_acl_isnone(acl)) {
if (!recursion && !dns_acl_isnone(acl)) {
cfg_obj_log(aclobj, logctx, ISC_LOG_WARNING,
"both \"recursion no;\" and "
"\"%s\" active%s%s",