mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-16 00:32:50 -04:00
I really shouldn't commit stuff until it at least compiles
This commit is contained in:
parent
ab889e996d
commit
8c962eba3d
2 changed files with 6 additions and 6 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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 <config.h>
|
||||
#include <ctype.h>
|
||||
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue