2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

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

This commit is contained in:
Evan Hunt
2020-03-30 13:49:55 -07:00
parent 68a1c9d679
commit 57e54c46e4
31 changed files with 73 additions and 78 deletions

View File

@@ -529,7 +529,7 @@ getnodedata(dns_db_t *db, const dns_name_t *name, bool create,
REQUIRE(nodep != NULL && *nodep == NULL);
if (sdlz->dlzimp->methods->newversion == NULL) {
REQUIRE(create == false);
REQUIRE(!create);
}
isc_buffer_init(&b, namestr, sizeof(namestr));