[Asterisk-cvs] asterisk cli.c,1.62,1.63
markster at lists.digium.com
markster at lists.digium.com
Wed Nov 17 23:11:25 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv26618
Modified Files:
cli.c
Log Message:
Minor command completion tweak (bug #988 bis)
Index: cli.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cli.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- cli.c 17 Nov 2004 19:28:08 -0000 1.62
+++ cli.c 18 Nov 2004 04:11:51 -0000 1.63
@@ -1107,7 +1107,7 @@
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;
}
More information about the svn-commits
mailing list