mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
dns_rbtnodechain_first() no longer requires name and origin
to be passed. dns_rbtnodechain_next() no longer fails if name is not passed.
This commit is contained in:
parent
e26a96b245
commit
af16f35cf9
@ -15,7 +15,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rbt.c,v 1.60 1999/10/12 14:19:47 tale Exp $ */
|
||||
/* $Id: rbt.c,v 1.61 1999/10/13 22:50:39 marka Exp $ */
|
||||
|
||||
/* Principal Authors: DCL */
|
||||
|
||||
@ -2127,6 +2127,7 @@ dns_rbtnodechain_next(dns_rbtnodechain_t *chain, dns_name_t *name,
|
||||
* the second level or below.
|
||||
*/
|
||||
|
||||
if (name != NULL)
|
||||
NODENAME(chain->end, name);
|
||||
|
||||
if (new_origin) {
|
||||
@ -2152,7 +2153,6 @@ dns_rbtnodechain_first(dns_rbtnodechain_t *chain, dns_rbt_t *rbt,
|
||||
{
|
||||
dns_result_t result;
|
||||
|
||||
REQUIRE(name != NULL && origin != NULL);
|
||||
REQUIRE(VALID_RBT(rbt));
|
||||
REQUIRE(VALID_CHAIN(chain));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user