diff options
author | Mark Spencer <markster@digium.com> | 2004-11-18 04:11:51 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-11-18 04:11:51 +0000 |
commit | a71e44bbdcda9aa30693aec8404e42d196729ad2 (patch) | |
tree | 1cff48e3d42abf5e6d98afe297cd6d4c3284b793 /cli.c | |
parent | a53765b55a5d6e7d7e3b58d744cb356f8bf5b7e0 (diff) |
Minor command completion tweak (bug #988 bis)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cli.c')
-rwxr-xr-x | cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1107,7 +1107,7 @@ char **ast_cli_completion_matches(char *text, char *word) prevstr = match_list[1]; max_equal = strlen(prevstr); for (; which <= matches; which++) { - for (i = 0; i < max_equal && prevstr[i] == match_list[which][i]; i++) + for (i = 0; i < max_equal && toupper(prevstr[i]) == toupper(match_list[which][i]); i++) continue; max_equal = i; } |