diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-06-06 19:55:08 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-06-06 19:55:08 +0000 |
commit | ab988ac6f43be480a0050f676663c19cf59d14c9 (patch) | |
tree | 2f659e033d5ba15205b2df2d4a1de4553b61df20 /main | |
parent | c7da6df5e16407a4ce4cd2f7dfce1860c628d54f (diff) |
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/trunk@121010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/pbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c index 343ed85df..8f6fb83ff 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -1483,7 +1483,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); |