Commit 54229947 authored by Michael Sawyer's avatar Michael Sawyer
Browse files

Change strlen to sizeof.

parent 02bc8882
......@@ -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(target != NULL);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment