isc_buffer_putstr() will soon return void

This commit is contained in:
Andreas Gustafsson
2000-04-26 18:24:15 +00:00
parent 6b526894f4
commit 8db70f36be
2 changed files with 4 additions and 5 deletions

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: zone.c,v 1.100 2000/04/24 23:30:46 tale Exp $ */
/* $Id: zone.c,v 1.101 2000/04/26 18:24:15 gson Exp $ */
#include <config.h>
@@ -3247,8 +3247,8 @@ zone_log(dns_zone_t *zone, const char *me, int level,
isc_buffer_init(&buffer, namebuf, sizeof namebuf, ISC_BUFFERTYPE_TEXT);
result = dns_name_totext(&zone->origin, ISC_FALSE, &buffer);
if (result != ISC_R_SUCCESS)
(void)isc_buffer_putstr(&buffer, "<UNKNOWN>");
(void)isc_buffer_putstr(&buffer, "/");
isc_buffer_putstr(&buffer, "<UNKNOWN>");
isc_buffer_putstr(&buffer, "/");
(void)dns_rdataclass_totext(zone->rdclass, &buffer);
len = buffer.used; /* XXX */