Skip to content
Snippets Groups Projects
Commit a71e44bb authored by Mark Spencer's avatar Mark Spencer
Browse files

Minor command completion tweak (bug #988 bis)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent a53765b5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment