From a70bde79e1325cce4dc2afecd0b99ad13ec8784f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Fri, 27 Sep 2019 08:46:03 +0200 Subject: [PATCH] bin/delv/delv.c: Fix invalid logic operation in REQUIRE() condition (cherry picked from commit 9ab16d10d48e4476adfa54807c62fe69cee96526) --- bin/delv/delv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/delv/delv.c b/bin/delv/delv.c index 2069cb4274..f56192216d 100644 --- a/bin/delv/delv.c +++ b/bin/delv/delv.c @@ -502,7 +502,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 (showcomments)