mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
[master] don't use strncasecmp for command line option
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user