[Asterisk-cvs] asterisk pbx.c,1.304,1.305

markster markster
Fri Nov 25 15:03:53 CST 2005


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

Modified Files:
	pbx.c 
Log Message:
Fix hint case sensitivity (bug #5856)


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.304
retrieving revision 1.305
diff -u -d -r1.304 -r1.305
--- pbx.c	21 Nov 2005 01:39:26 -0000	1.304
+++ pbx.c	25 Nov 2005 19:52:30 -0000	1.305
@@ -1888,7 +1888,7 @@
 		ast_copy_string(buf, ast_get_extension_app(hint->exten), sizeof(buf));
 		parse = buf;
 		for (cur = strsep(&parse, "&"); cur; cur = strsep(&parse, "&")) {
-			if (strcmp(cur, device))
+			if (strcasecmp(cur, device))
 				continue;
 
 			/* Get device state for this hint */




More information about the svn-commits mailing list