Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
2292bcea
Commit
2292bcea
authored
Apr 22, 1999
by
David Lawrence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tried to ascend a level in dns_rbtnodechain_next when at top level
parent
9821041d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
lib/dns/rbt.c
lib/dns/rbt.c
+3
-4
No files found.
lib/dns/rbt.c
View file @
2292bcea
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
/* $Id: rbt.c,v 1.4
5
1999/04/2
0 22:01:00
tale Exp $ */
/* $Id: rbt.c,v 1.4
6
1999/04/2
2 14:16:52
tale Exp $ */
/* Principal Authors: DCL */
/* Principal Authors: DCL */
...
@@ -2076,13 +2076,12 @@ dns_rbtnodechain_next(dns_rbtnodechain_t *chain, dns_name_t *name,
...
@@ -2076,13 +2076,12 @@ dns_rbtnodechain_next(dns_rbtnodechain_t *chain, dns_name_t *name,
}
}
}
}
if
(
successor
==
NULL
)
{
if
(
successor
==
NULL
&&
chain
->
level_count
>
0
)
{
/*
/*
* Reached the root without having traversed
* Reached the root without having traversed
* any left pointers, so this level is done.
* any left pointers, so this level is done.
*/
*/
INSIST
(
chain
->
level_count
>
0
&&
INSIST
(
chain
->
ancestor_count
>
0
);
chain
->
ancestor_count
>
0
);
current
=
chain
->
levels
[
--
chain
->
level_count
];
current
=
chain
->
levels
[
--
chain
->
level_count
];
chain
->
ancestor_count
--
;
chain
->
ancestor_count
--
;
new_origin
=
ISC_TRUE
;
new_origin
=
ISC_TRUE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment