From: Ondřej Surý Date: Fri, 27 Sep 2019 06:46:03 +0000 (+0200) Subject: bin/delv/delv.c: Fix invalid logic operation in REQUIRE() condition X-Git-Tag: v9.15.6~72^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ab16d10d48e4476adfa54807c62fe69cee96526;p=thirdparty%2Fbind9.git bin/delv/delv.c: Fix invalid logic operation in REQUIRE() condition --- diff --git a/bin/delv/delv.c b/bin/delv/delv.c index 144b26c1f03..f3127ab9e85 100644 --- a/bin/delv/delv.c +++ b/bin/delv/delv.c @@ -529,7 +529,7 @@ setup_style(dns_master_style_t **stylep) { isc_result_t result; dns_master_style_t *style = NULL; - REQUIRE(stylep != NULL || *stylep == NULL); + REQUIRE(stylep != NULL && *stylep == NULL); styleflags |= DNS_STYLEFLAG_REL_OWNER; if (yaml) {