Commit f4ada59b authored by Evan Hunt's avatar Evan Hunt

[master] don't use strncasecmp for command line option

parent 67d01dca
......@@ -754,7 +754,7 @@ do_next_command(char *input) {
show_settings(ISC_TRUE, ISC_TRUE);
} else if (strcasecmp(ptr, "exit") == 0) {
in_use = ISC_FALSE;
} else if (strncasecmp(ptr, "ver", 3) == 0) {
} else if (strcasecmp(ptr, "version") == 0) {
version();
} else if (strcasecmp(ptr, "help") == 0 ||
strcasecmp(ptr, "?") == 0) {
......
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