[asterisk-commits] branch 1.2 - r7231 /branches/1.2/pbx.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Nov 30 01:22:44 CST 2005


Author: russell
Date: Wed Nov 30 01:22:42 2005
New Revision: 7231

URL: http://svn.digium.com/view/asterisk?rev=7231&view=rev
Log:
fix hint case sensitivity (issue #5856)

Modified:
    branches/1.2/pbx.c

Modified: branches/1.2/pbx.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/pbx.c?rev=7231&r1=7230&r2=7231&view=diff
==============================================================================
--- branches/1.2/pbx.c (original)
+++ branches/1.2/pbx.c Wed Nov 30 01:22:42 2005
@@ -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 asterisk-commits mailing list