Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Petr Menšík
BIND
Commits
5404e14b
Commit
5404e14b
authored
Nov 22, 2000
by
Andreas Gustafsson
Browse files
eliminated compiler warnings
parent
afb5dc3a
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/dns/zone.c
View file @
5404e14b
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.25
7
2000/11/22
19:56:18
gson Exp $ */
/* $Id: zone.c,v 1.25
8
2000/11/22
23:06:55
gson Exp $ */
#include <config.h>
...
...
@@ -853,16 +853,16 @@ dns_zone_getjournal(dns_zone_t *zone) {
* dynamic updates either by having an update policy ("ssutable")
* 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
)
{
return
(
ISC_TF
(
zone
->
type
==
dns_zone_slave
||
zone
->
type
==
dns_zone_stub
||
zone
->
ssutable
!=
NULL
||
zone
->
update_acl
!=
NULL
&&
(
zone
->
update_acl
!=
NULL
&&
!
(
zone
->
update_acl
->
length
==
0
&&
zone
->
update_acl
->
elements
[
0
].
negative
==
ISC_TRUE
&&
zone
->
update_acl
->
elements
[
0
].
type
==
dns_aclelementtype_any
)));
dns_aclelementtype_any
)))
)
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment