mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-15 02:40:04 -04:00
Move the failure handling block closer to the only place where it could fail
This commit is contained in:
parent
c2dad0dcb2
commit
69ecc711ac
1 changed files with 4 additions and 7 deletions
|
|
@ -4528,15 +4528,12 @@ find_deepest_zonecut(rbtdb_search_t *search, dns_rbtnode_t *node,
|
|||
foundname,
|
||||
NULL);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
break;
|
||||
if (nodep != NULL) {
|
||||
*nodep = NULL;
|
||||
}
|
||||
goto node_exit;
|
||||
}
|
||||
}
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
if (nodep != NULL) {
|
||||
*nodep = NULL;
|
||||
}
|
||||
goto node_exit;
|
||||
}
|
||||
}
|
||||
result = DNS_R_DELEGATION;
|
||||
if (nodep != NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue