[svn-commits] tilghman: branch 1.4 r270583 - /branches/1.4/main/pbx.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jun 15 13:25:15 CDT 2010


Author: tilghman
Date: Tue Jun 15 13:25:12 2010
New Revision: 270583

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=270583
Log:
Variables have always been case-sensitive, so we should not be removing case-insensitive matches.

Bug reported via the -dev list.  See
http://lists.digium.com/pipermail/asterisk-dev/2010-June/044510.html

Modified:
    branches/1.4/main/pbx.c

Modified: branches/1.4/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/pbx.c?view=diff&rev=270583&r1=270582&r2=270583
==============================================================================
--- branches/1.4/main/pbx.c (original)
+++ branches/1.4/main/pbx.c Tue Jun 15 13:25:12 2010
@@ -5938,7 +5938,7 @@
 	}
 
 	AST_LIST_TRAVERSE_SAFE_BEGIN(headp, newvariable, entries) {
-		if (strcasecmp(ast_var_name(newvariable), nametail) == 0) {
+		if (strcmp(ast_var_name(newvariable), nametail) == 0) {
 			/* there is already such a variable, delete it */
 			AST_LIST_REMOVE_CURRENT(headp, entries);
 			ast_var_delete(newvariable);




More information about the svn-commits mailing list