Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
f44644ab
Commit
f44644ab
authored
Aug 20, 1999
by
Bob Halley
Browse files
dns_rdataset_totext() now adds CR after each question
parent
c801dd02
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/printmsg.c
View file @
f44644ab
...
@@ -181,10 +181,12 @@ printmessage(dns_message_t *msg) {
...
@@ -181,10 +181,12 @@ printmessage(dns_message_t *msg) {
if
(
msg
->
counts
[
DNS_SECTION_TSIG
]
>
0
)
if
(
msg
->
counts
[
DNS_SECTION_TSIG
]
>
0
)
printf
(
";; PSEUDOSECTIONS: TSIG: %u
\n
"
,
printf
(
";; PSEUDOSECTIONS: TSIG: %u
\n
"
,
msg
->
counts
[
DNS_SECTION_TSIG
]);
msg
->
counts
[
DNS_SECTION_TSIG
]);
result
=
printsection
(
msg
,
DNS_SECTION_QUESTION
,
"QUESTION"
);
if
(
msg
->
counts
[
DNS_SECTION_QUESTION
]
>
0
)
{
if
(
result
!=
DNS_R_SUCCESS
)
printf
(
"
\n
"
);
return
(
result
);
result
=
printsection
(
msg
,
DNS_SECTION_QUESTION
,
"QUESTION"
);
printf
(
"
\n
"
);
if
(
result
!=
DNS_R_SUCCESS
)
return
(
result
);
}
if
(
msg
->
counts
[
DNS_SECTION_ANSWER
]
>
0
)
{
if
(
msg
->
counts
[
DNS_SECTION_ANSWER
]
>
0
)
{
printf
(
"
\n
"
);
printf
(
"
\n
"
);
result
=
printsection
(
msg
,
DNS_SECTION_ANSWER
,
"ANSWER"
);
result
=
printsection
(
msg
,
DNS_SECTION_ANSWER
,
"ANSWER"
);
...
...
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