aboutsummaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-18 04:11:51 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-18 04:11:51 +0000
commited0a628d3496a46179103dd08b827c2a6c686b73 (patch)
tree1cff48e3d42abf5e6d98afe297cd6d4c3284b793 /cli.c
parenta2038dfc02b8e607267583820fcd6563c8a32313 (diff)
Minor command completion tweak (bug #988 bis)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4287 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cli.c')
-rwxr-xr-xcli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli.c b/cli.c
index bf8e52272..9a7128e3f 100755
--- a/cli.c
+++ b/cli.c
@@ -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;
}