Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
8e591e20
Commit
8e591e20
authored
May 08, 2000
by
David Lawrence
Browse files
"do { ... } while (1)" to shut up HP/UX
parent
edf7c005
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/rbt/t_rbt.c
View file @
8e591e20
...
...
@@ -590,7 +590,7 @@ t9_walkchain(dns_rbtnodechain_t *chain, dns_rbt_t *rbt) {
cnt
=
0
;
nprobs
=
0
;
while
(
1
)
{
do
{
if
(
cnt
==
0
)
{
dns_fixedname_init
(
&
name
);
...
...
@@ -606,7 +606,8 @@ t9_walkchain(dns_rbtnodechain_t *chain, dns_rbt_t *rbt) {
break
;
}
t_info
(
"first name:
\t
<%s>
\n
"
,
fixedname_totext
(
&
name
));
t_info
(
"first origin:
\t
<%s>
\n
"
,
fixedname_totext
(
&
origin
));
t_info
(
"first origin:
\t
<%s>
\n
"
,
fixedname_totext
(
&
origin
));
}
else
{
dns_fixedname_init
(
&
fullname1
);
dns_result
=
dns_name_concatenate
(
...
...
@@ -676,8 +677,9 @@ t9_walkchain(dns_rbtnodechain_t *chain, dns_rbt_t *rbt) {
}
++
cnt
;
}
return
(
nprobs
);
}
while
(
1
);
return
(
nprobs
);
}
/*
...
...
Write
Preview
Supports
Markdown
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