aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);