Move the failure handling block closer to the only place where it could fail
This commit is contained in:
committed by
Mark Andrews
parent
c2dad0dcb2
commit
69ecc711ac
+4
-7
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user