Skip to content
GitLab
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
194de894
Commit
194de894
authored
May 24, 2000
by
Michael Sawyer
Browse files
Slight change to printing of \n's.
parent
932b781b
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/message.c
View file @
194de894
...
...
@@ -2468,7 +2468,8 @@ dns_message_sectiontotext(dns_message_t *msg, dns_section_t section,
}
result
=
dns_message_nextname
(
msg
,
section
);
}
while
(
result
==
ISC_R_SUCCESS
);
ADD_STRING
(
target
,
"
\n
"
);
if
((
flags
&
DNS_MESSAGETEXTFLAG_NOHEADERS
)
==
0
)
ADD_STRING
(
target
,
"
\n
"
);
if
(
result
==
ISC_R_NOMORE
)
result
=
ISC_R_SUCCESS
;
return
(
result
);
...
...
@@ -2526,7 +2527,8 @@ dns_message_pseudosectiontotext(dns_message_t *msg,
ADD_STRING
(
target
,
";; SIG0 PSEUDOSECTION:
\n
"
);
result
=
dns_rdataset_totext
(
ps
,
name
,
omit_final_dot
,
ISC_FALSE
,
target
);
ADD_STRING
(
target
,
"
\n
"
);
if
((
flags
&
DNS_MESSAGETEXTFLAG_NOHEADERS
)
==
0
)
ADD_STRING
(
target
,
"
\n
"
);
return
(
result
);
}
return
(
ISC_R_UNEXPECTED
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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