2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Change strlen to sizeof.

This commit is contained in:
Michael Sawyer
2000-05-22 22:41:24 +00:00
parent 02bc88821c
commit 54229947d3

View File

@@ -2468,7 +2468,7 @@ dns_message_pseudosectiontotext(dns_message_t *msg,
dns_rdataset_t *ps = NULL;
dns_name_t *name = NULL;
isc_result_t result;
char buf[strlen("1234567890")];
char buf[sizeof("1234567890")];
REQUIRE(DNS_MESSAGE_VALID(msg));
REQUIRE(target != NULL);