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
1.6.0
Tilghman Lesher 17 years ago
parent 91945123a2
commit 9a4ef078a4

@ -1477,7 +1477,7 @@ static int ext_cmp1(const char **p)
; /* ignore some characters */ ; /* ignore some characters */
/* always return unless we have a set of chars */ /* always return unless we have a set of chars */
switch (c) { switch (toupper(c)) {
default: /* ordinary character */ default: /* ordinary character */
return 0x0000 | (c & 0xff); return 0x0000 | (c & 0xff);

Loading…
Cancel
Save