Make this compile again after the dns_rdataset_totext()

This commit is contained in:
Michael Graff
1999-04-30 02:09:28 +00:00
parent 3ff8d68793
commit 597bdfef60
2 changed files with 4 additions and 2 deletions

View File

@@ -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);