Commit 5404e14b authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

eliminated compiler warnings

parent afb5dc3a
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: zone.c,v 1.257 2000/11/22 19:56:18 gson Exp $ */ /* $Id: zone.c,v 1.258 2000/11/22 23:06:55 gson Exp $ */
#include <config.h> #include <config.h>
...@@ -853,16 +853,16 @@ dns_zone_getjournal(dns_zone_t *zone) { ...@@ -853,16 +853,16 @@ dns_zone_getjournal(dns_zone_t *zone) {
* dynamic updates either by having an update policy ("ssutable") * dynamic updates either by having an update policy ("ssutable")
* or an "allow-update" ACL with a value other than exactly "{ none; }". * or an "allow-update" ACL with a value other than exactly "{ none; }".
*/ */
isc_boolean_t static isc_boolean_t
zone_isdynamic(dns_zone_t *zone) { zone_isdynamic(dns_zone_t *zone) {
return (ISC_TF(zone->type == dns_zone_slave || return (ISC_TF(zone->type == dns_zone_slave ||
zone->type == dns_zone_stub || zone->type == dns_zone_stub ||
zone->ssutable != NULL || zone->ssutable != NULL ||
zone->update_acl != NULL && (zone->update_acl != NULL &&
! (zone->update_acl->length == 0 && ! (zone->update_acl->length == 0 &&
zone->update_acl->elements[0].negative == ISC_TRUE && zone->update_acl->elements[0].negative == ISC_TRUE &&
zone->update_acl->elements[0].type == zone->update_acl->elements[0].type ==
dns_aclelementtype_any))); dns_aclelementtype_any))));
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment