[asterisk-commits] rmudgett: trunk r397897 - in /trunk: ./ main/cdr.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 28 17:38:32 CDT 2013


Author: rmudgett
Date: Wed Aug 28 17:38:30 2013
New Revision: 397897

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=397897
Log:
Make CDR variable name chandling consistently case insensitive.
........

Merged revisions 397896 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/main/cdr.c

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Wed Aug 28 17:38:30 2013
@@ -1,1 +1,1 @@
-/branches/12:1-397816,397854,397856,397859,397870,397874,397876,397885,397892,397894
+/branches/12:1-397816,397854,397856,397859,397870,397874,397876,397885,397892,397894,397896

Modified: trunk/main/cdr.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/cdr.c?view=diff&rev=397897&r1=397896&r2=397897
==============================================================================
--- trunk/main/cdr.c (original)
+++ trunk/main/cdr.c Wed Aug 28 17:38:30 2013
@@ -1122,7 +1122,7 @@
 			int found = 0;
 			struct ast_var_t *newvariable;
 			AST_LIST_TRAVERSE(&cdr_copy->varshead, it_copy_var, entries) {
-				if (!strcmp(ast_var_name(it_var), ast_var_name(it_copy_var))) {
+				if (!strcasecmp(ast_var_name(it_var), ast_var_name(it_copy_var))) {
 					found = 1;
 					break;
 				}




More information about the asterisk-commits mailing list