[Asterisk-cvs] asterisk pbx.c,1.111,1.112

citats at lists.digium.com citats at lists.digium.com
Sun Apr 18 01:47:17 CDT 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv16996

Modified Files:
	pbx.c 
Log Message:
Make extension matching non case sensitive.  So 'T' and 't' are
different extensions (bug 1327)


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- pbx.c	6 Apr 2004 22:17:31 -0000	1.111
+++ pbx.c	18 Apr 2004 05:50:55 -0000	1.112
@@ -3682,7 +3682,7 @@
 	}
 	e = con->root;
 	while(e) {
-		res= strcasecmp(e->exten, extension);
+		res= strcmp(e->exten, extension);
 		if (!res) {
 			if (!e->matchcid && !tmp->matchcid)
 				res = 0;




More information about the svn-commits mailing list