From e389838d7aa7c755b03b68a9216972a11f823bd7 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Tue, 29 Aug 2000 19:07:11 +0000 Subject: [PATCH] isc_buffer_used() does *not* return the beginning of the used region - it returns the *end* --- bin/named/xfrout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/named/xfrout.c b/bin/named/xfrout.c index d270ccc89d..4484d38421 100644 --- a/bin/named/xfrout.c +++ b/bin/named/xfrout.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: xfrout.c,v 1.74 2000/08/23 17:40:53 bwelling Exp $ */ +/* $Id: xfrout.c,v 1.75 2000/08/29 19:07:11 gson Exp $ */ #include @@ -283,7 +283,7 @@ log_rr(dns_name_t *name, dns_rdata_t *rdata, isc_uint32_t ttl) { isc_log_write(XFROUT_RR_LOGARGS, "%.*s", (int)isc_buffer_usedlength(&buf), - (char *)isc_buffer_used(&buf)); + (char *)isc_buffer_base(&buf)); } else { isc_log_write(XFROUT_RR_LOGARGS, ""); }