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 */

_______________________________________________
Asterisk-Cvs mailing list
Asterisk-Cvs@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to