Commit 447591a4 authored by Mark Andrews's avatar Mark Andrews
Browse files

use isc_buffer_constinit

parent d06680b5
......@@ -137,7 +137,7 @@ nsecify(char *filename) {
origintext++; /* Skip '/'. */
len = strlen(origintext);
isc_buffer_init(&b, origintext, len);
isc_buffer_constinit(&b, origintext, len);
isc_buffer_add(&b, len);
result = dns_name_fromtext(name, &b, dns_rootname, 0, NULL);
check_result(result, "dns_name_fromtext()");
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