diff --git a/lib/dns/include/dns/rdatatype.h b/lib/dns/include/dns/rdatatype.h index 40d55c57ea..2086d2190e 100644 --- a/lib/dns/include/dns/rdatatype.h +++ b/lib/dns/include/dns/rdatatype.h @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rdatatype.h,v 1.15 2000/11/15 19:05:32 gson Exp $ */ +/* $Id: rdatatype.h,v 1.16 2000/11/15 19:11:36 gson Exp $ */ #ifndef DNS_RDATATYPE_H #define DNS_RDATATYPE_H 1 @@ -61,7 +61,7 @@ dns_rdatatype_totext(dns_rdatatype_t type, isc_buffer_t *target); */ void -dns_rdatatype_format(dns_rdatatype_t rdtype +dns_rdatatype_format(dns_rdatatype_t rdtype, char *array, unsigned int size); /* * Format a human-readable representation of the type 'rdtype' diff --git a/lib/dns/rdata.c b/lib/dns/rdata.c index 5850459135..93ebaca40c 100644 --- a/lib/dns/rdata.c +++ b/lib/dns/rdata.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rdata.c,v 1.124 2000/11/15 19:05:28 gson Exp $ */ +/* $Id: rdata.c,v 1.125 2000/11/15 19:11:34 gson Exp $ */ #include #include @@ -1092,14 +1092,14 @@ dns_rdatatype_totext(dns_rdatatype_t type, isc_buffer_t *target) { } void -dns_rdatatype_format(dns_rdatatype_t rdtype - char *array, unsigned int size); +dns_rdatatype_format(dns_rdatatype_t rdtype, + char *array, unsigned int size) { isc_result_t result; isc_buffer_t buf; isc_buffer_init(&buf, array, size); - result = dns_type_totext(rdclass, &buf); + result = dns_rdatatype_totext(rdtype, &buf); /* * Null terminate. */