From 9a4ef078a42fae1e5dd0afe47e33b9524333094c Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Fri, 6 Jun 2008 19:56:08 +0000 Subject: [PATCH] Merged revisions 121010 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r121010 | tilghman | 2008-06-06 14:55:08 -0500 (Fri, 06 Jun 2008) | 6 lines Make extension match characters case-insensitive. (closes issue #12777) Reported by: jsmith Patches: lower_case_patterns-trunk-v1.patch uploaded by jsmith (license 15) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121011 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/pbx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/pbx.c b/main/pbx.c index e0608ae305..6cbe7cfff5 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -1477,7 +1477,7 @@ static int ext_cmp1(const char **p) ; /* ignore some characters */ /* always return unless we have a set of chars */ - switch (c) { + switch (toupper(c)) { default: /* ordinary character */ return 0x0000 | (c & 0xff);