From 8db2b65318b72e3ee477d6f6a346b525dd2db53a Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Sat, 2 Dec 2000 05:28:05 +0000 Subject: [PATCH] more DNS_OPT_NEWCODES sanitation --- lib/dns/message.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/message.c b/lib/dns/message.c index 835a07d24a..f83cc38352 100644 --- a/lib/dns/message.c +++ b/lib/dns/message.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: message.c,v 1.162 2000/12/02 04:41:27 gson Exp $ */ +/* $Id: message.c,v 1.163 2000/12/02 05:28:05 gson Exp $ */ /*** *** Imports @@ -2804,10 +2804,10 @@ dns_message_pseudosectiontotext(dns_message_t *msg, dns_name_t *name = NULL; isc_result_t result; isc_boolean_t omit_final_dot; - -#ifdef DNS_OPT_NEWCODES +#ifndef DNS_OPT_NEWCODES char buf[sizeof("1234567890")]; #endif /* DNS_OPT_NEWCODES */ + REQUIRE(DNS_MESSAGE_VALID(msg)); REQUIRE(target != NULL); REQUIRE(VALID_PSEUDOSECTION(section));