mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-03 13:59:27 -04:00
more DNS_OPT_NEWCODES sanitation
This commit is contained in:
parent
33b66a98be
commit
8db2b65318
1 changed files with 3 additions and 3 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue