mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
use ISC_TF to assign an isc_boolean_t
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: confip.c,v 1.26 2000/06/06 14:20:00 brister Exp $ */
|
/* $Id: confip.c,v 1.27 2000/06/06 15:21:46 tale Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -748,13 +748,14 @@ dns_c_ipmatchlist_walk(dns_c_ipmatchlist_t *list, dns_c_ipmlwalker func)
|
|||||||
case dns_c_ipmatch_localnets:
|
case dns_c_ipmatch_localnets:
|
||||||
case dns_c_ipmatch_any:
|
case dns_c_ipmatch_any:
|
||||||
case dns_c_ipmatch_none:
|
case dns_c_ipmatch_none:
|
||||||
retval = retval && (*func)(ipme);
|
retval = ISC_TF(retval && (*func)(ipme));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case dns_c_ipmatch_indirect:
|
case dns_c_ipmatch_indirect:
|
||||||
retval = retval &&
|
retval = ISC_TF(retval &&
|
||||||
dns_c_ipmatchlist_walk(ipme->u.indirect.list,
|
dns_c_ipmatchlist_walk(ipme->
|
||||||
func);
|
u.indirect.list,
|
||||||
|
func));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user