[svn-commits] tilghman: trunk r121010 - /trunk/main/pbx.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jun 6 14:55:08 CDT 2008


Author: tilghman
Date: Fri Jun  6 14:55:08 2008
New Revision: 121010

URL: http://svn.digium.com/view/asterisk?view=rev&rev=121010
Log:
Make extension match characters case-insensitive.
(closes issue #12777)
 Reported by: jsmith
 Patches: 
       lower_case_patterns-trunk-v1.patch uploaded by jsmith (license 15)

Modified:
    trunk/main/pbx.c

Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=121010&r1=121009&r2=121010
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Fri Jun  6 14:55:08 2008
@@ -1483,7 +1483,7 @@
 		;	/* ignore some characters */
 
 	/* always return unless we have a set of chars */
-	switch (c) {
+	switch (toupper(c)) {
 	default:	/* ordinary character */
 		return 0x0000 | (c & 0xff);
 




More information about the svn-commits mailing list