Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
94f3abed
Commit
94f3abed
authored
Oct 05, 2017
by
Evan Hunt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[master] remove no-longer-needed check for nonexistence
parent
1e14ea02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
bin/named/server.c
bin/named/server.c
+1
-5
No files found.
bin/named/server.c
View file @
94f3abed
...
...
@@ -6908,6 +6908,7 @@ static isc_result_t
count_newzones(dns_view_t *view, ns_cfgctx_t *nzcfg, int *num_zonesp) {
isc_result_t result;
/* The new zone file may not exist. That is OK. */
if (!isc_file_exists(view->new_zone_file)) {
*num_zonesp = 0;
return (ISC_R_SUCCESS);
...
...
@@ -6934,11 +6935,6 @@ count_newzones(dns_view_t *view, ns_cfgctx_t *nzcfg, int *num_zonesp) {
view->new_zone_file, num_zones);
if (num_zonesp != NULL)
*num_zonesp = num_zones;
} else if (result == ISC_R_FILENOTFOUND) {
/* The new zone file may not exist. That is OK. */
result = ISC_R_SUCCESS;
if (num_zonesp != NULL)
*num_zonesp = 0;
} else {
isc_log_write(named_g_lctx,
NAMED_LOGCATEGORY_GENERAL, NAMED_LOGMODULE_SERVER,
...
...
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