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) {
|
if (foundname != NULL) {
|
||||||
/*
|
/*
|
||||||
* Build foundname by getting the common
|
* Build foundname by getting the
|
||||||
* labels and prefixing them to the
|
* common labels and prefixing them
|
||||||
* current foundname.
|
* to the current foundname.
|
||||||
*/
|
*/
|
||||||
dns_name_getlabelsequence(search_name,
|
dns_name_getlabelsequence(search_name,
|
||||||
first_common_label,
|
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
|
* Whack off the current node's common labels
|
||||||
* node for the name to search in the next level.
|
* for the name to search in the next level.
|
||||||
*/
|
*/
|
||||||
dns_name_getlabelsequence(search_name, 0,
|
dns_name_getlabelsequence(search_name, 0,
|
||||||
first_common_label,
|
first_common_label,
|
||||||
@ -810,7 +810,6 @@ dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_name_t *foundname,
|
|||||||
&name1);
|
&name1);
|
||||||
result = dns_name_concatenate(&name1, NULL,
|
result = dns_name_concatenate(&name1, NULL,
|
||||||
foundname, NULL);
|
foundname, NULL);
|
||||||
printf("HEY!\n");
|
|
||||||
} else
|
} else
|
||||||
result = dns_name_concatenate(new_foundname,
|
result = dns_name_concatenate(new_foundname,
|
||||||
NULL,
|
NULL,
|
||||||
@ -836,7 +835,6 @@ dns_rbt_findname(dns_rbt_t *rbt, dns_name_t *name,
|
|||||||
dns_rbtnode_t *node = NULL;
|
dns_rbtnode_t *node = NULL;
|
||||||
dns_result_t result;
|
dns_result_t result;
|
||||||
|
|
||||||
REQUIRE(VALID_RBT(rbt));
|
|
||||||
REQUIRE(data != NULL && *data == NULL);
|
REQUIRE(data != NULL && *data == NULL);
|
||||||
|
|
||||||
result = dns_rbt_findnode(rbt, name, foundname, &node, NULL);
|
result = dns_rbt_findnode(rbt, name, foundname, &node, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user