From 1b420b76969e9aab236006b345fff3aadce642aa Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Mon, 22 Aug 2005 18:43:32 +0000 Subject: [PATCH] make 'show modules like' not case sensitive (issue #4990) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6349 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.c b/cli.c index c7d55914c0..e4ab933575 100755 --- a/cli.c +++ b/cli.c @@ -235,7 +235,7 @@ static int climodentryfd = -1; 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; }