mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
This commit is contained in:
@@ -2100,13 +2100,12 @@ dns_nsec3_noexistnodata(dns_rdatatype_t type, const dns_name_t *name,
|
||||
*exists = false;
|
||||
*data = false;
|
||||
if (optout != NULL) {
|
||||
if ((nsec3.flags & DNS_NSEC3FLAG_OPTOUT) != 0)
|
||||
(*logit)(arg, ISC_LOG_DEBUG(3),
|
||||
"NSEC3 indicates optout");
|
||||
else
|
||||
(*logit)(arg, ISC_LOG_DEBUG(3),
|
||||
"NSEC3 indicates secure range");
|
||||
*optout = (nsec3.flags & DNS_NSEC3FLAG_OPTOUT);
|
||||
*optout = ((nsec3.flags & DNS_NSEC3FLAG_OPTOUT)
|
||||
!= 0);
|
||||
(*logit)(arg, ISC_LOG_DEBUG(3),
|
||||
(*optout
|
||||
? "NSEC3 indicates optout"
|
||||
: "NSEC3 indicates secure range"));
|
||||
}
|
||||
answer = ISC_R_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user