Commit bd7996b0 authored by Mark Andrews's avatar Mark Andrews
Browse files

remove redundent nul setting

parent e177c7b8
......@@ -1162,8 +1162,6 @@ plus_option(char *option, isc_boolean_t is_batchfile,
if (value != NULL) {
n = strlcpy(sitvalue, value,
sizeof(sitvalue));
sitvalue[sizeof(sitvalue) - 1] = '\0';
if (n >= sizeof(sitvalue))
fatal("SIT data too large");
lookup->sitvalue = sitvalue;
......
Markdown is supported
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