From 597bdfef600d6de139b458edb8dd962abb479734 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Fri, 30 Apr 1999 02:09:28 +0000 Subject: [PATCH] Make this compile again after the dns_rdataset_totext() --- bin/tests/db_test.c | 3 ++- bin/tests/master_test.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/tests/db_test.c b/bin/tests/db_test.c index 14cc4bade0..82cb06cbe3 100644 --- a/bin/tests/db_test.c +++ b/bin/tests/db_test.c @@ -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); diff --git a/bin/tests/master_test.c b/bin/tests/master_test.c index 0269b10f99..2a45d1f3d8 100644 --- a/bin/tests/master_test.c +++ b/bin/tests/master_test.c @@ -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);