mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
formatting fixups (a few lines were over 79 char).
This commit is contained in:
parent
bbf390959d
commit
f39a760ab0
@ -727,9 +727,9 @@ dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_name_t *foundname,
|
||||
|
||||
if (foundname != NULL) {
|
||||
/*
|
||||
* Build foundname by getting the common
|
||||
* labels and prefixing them to the
|
||||
* current foundname.
|
||||
* Build foundname by getting the
|
||||
* common labels and prefixing them
|
||||
* to the current foundname.
|
||||
*/
|
||||
dns_name_getlabelsequence(search_name,
|
||||
first_common_label,
|
||||
@ -745,8 +745,8 @@ dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_name_t *foundname,
|
||||
}
|
||||
|
||||
/*
|
||||
* Whack off the common labels of the current
|
||||
* node for the name to search in the next level.
|
||||
* Whack off the current node's common labels
|
||||
* for the name to search in the next level.
|
||||
*/
|
||||
dns_name_getlabelsequence(search_name, 0,
|
||||
first_common_label,
|
||||
@ -810,7 +810,6 @@ dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_name_t *foundname,
|
||||
&name1);
|
||||
result = dns_name_concatenate(&name1, NULL,
|
||||
foundname, NULL);
|
||||
printf("HEY!\n");
|
||||
} else
|
||||
result = dns_name_concatenate(new_foundname,
|
||||
NULL,
|
||||
@ -836,7 +835,6 @@ dns_rbt_findname(dns_rbt_t *rbt, dns_name_t *name,
|
||||
dns_rbtnode_t *node = NULL;
|
||||
dns_result_t result;
|
||||
|
||||
REQUIRE(VALID_RBT(rbt));
|
||||
REQUIRE(data != NULL && *data == NULL);
|
||||
|
||||
result = dns_rbt_findnode(rbt, name, foundname, &node, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user