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
597bdfef
Commit
597bdfef
authored
Apr 30, 1999
by
Michael Graff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make this compile again after the dns_rdataset_totext()
parent
3ff8d687
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
bin/tests/db_test.c
bin/tests/db_test.c
+2
-1
bin/tests/master_test.c
bin/tests/master_test.c
+2
-1
No files found.
bin/tests/db_test.c
View file @
597bdfef
...
...
@@ -82,7 +82,8 @@ print_rdataset(dns_name_t *name, dns_rdataset_t *rdataset) {
isc_region_t
r
;
isc_buffer_init
(
&
text
,
t
,
sizeof
t
,
ISC_BUFFERTYPE_TEXT
);
result
=
dns_rdataset_totext
(
rdataset
,
name
,
ISC_FALSE
,
&
text
);
result
=
dns_rdataset_totext
(
rdataset
,
name
,
ISC_FALSE
,
&
text
,
ISC_FALSE
);
isc_buffer_used
(
&
text
,
&
r
);
if
(
result
==
DNS_R_SUCCESS
)
printf
(
"%.*s"
,
(
int
)
r
.
length
,
(
char
*
)
r
.
base
);
...
...
bin/tests/master_test.c
View file @
597bdfef
...
...
@@ -45,7 +45,8 @@ print_dataset(dns_rdatacallbacks_t *callbacks, dns_name_t *owner,
callbacks
=
callbacks
;
/*unused*/
isc_buffer_init
(
&
target
,
buf
,
64
*
1024
,
ISC_BUFFERTYPE_TEXT
);
result
=
dns_rdataset_totext
(
dataset
,
owner
,
ISC_FALSE
,
&
target
);
result
=
dns_rdataset_totext
(
dataset
,
owner
,
ISC_FALSE
,
&
target
,
ISC_FALSE
);
if
(
result
==
DNS_R_SUCCESS
)
fprintf
(
stdout
,
"%.*s
\n
"
,
(
int
)
target
.
used
,
(
char
*
)
target
.
base
);
...
...
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