Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv8455

Modified Files:
        cli.c 
Log Message:
make 'show modules like' not case sensitive (issue #4990)


Index: cli.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cli.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- cli.c       14 Aug 2005 01:48:14 -0000      1.95
+++ cli.c       22 Aug 2005 18:43:32 -0000      1.96
@@ -235,7 +235,7 @@
 static int modlist_modentry(const char *module, const char *description, int 
usecnt, const char *like)
 {
        /* Comparing the like with the module */
-       if (strstr(module, like) != NULL) {
+       if (strcasestr(module, like) ) {
                ast_cli(climodentryfd, MODLIST_FORMAT, module, description, 
usecnt);
                return 1;
        } 

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to