aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-15 18:27:32 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-15 18:27:32 +0000
commit7ba0d6ce4d4be87c19b991d404907653f16f26d0 (patch)
tree25191a597123c9f53446ede58d57c53711269ec9
parentaf38fdb2df6a578fd1e772b8ed1004c5f81affa9 (diff)
Merged revisions 270584 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r270584 | tilghman | 2010-06-15 13:26:26 -0500 (Tue, 15 Jun 2010) | 12 lines Merged revisions 270583 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r270583 | tilghman | 2010-06-15 13:25:12 -0500 (Tue, 15 Jun 2010) | 5 lines 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 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@270585 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 682a17ee8..7d475f189 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -9060,7 +9060,7 @@ void pbx_builtin_setvar_helper(struct ast_channel *chan, const char *name, const
}
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(entries);
ast_var_delete(newvariable);