diff options
author | Mark Michelson <mmichelson@digium.com> | 2012-10-29 21:27:09 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2012-10-29 21:27:09 +0000 |
commit | da85f8489f76d50989f1f030eea7b13dc1fda52d (patch) | |
tree | 2d73dea0a4ccd82b65bc8f35012cf1e5a66c2a8e /channels/chan_skinny.c | |
parent | 1eb14dbff8bb10caba4e7bd6ebb284056d328821 (diff) |
Make evaluation of channel variables consistently case-sensitive.
Due to inconsistencies in how variable names were evaluated, the
decision was made to make all evaluations case-sensitive. See the
UPGRADE.txt file or https://wiki.asterisk.org/wiki/display/AST/Case+Sensitivity
for more details.
(closes issue ASTERISK-20163)
reported by Matt Jordan
Review: https://reviewboard.asterisk.org/r/2160
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_skinny.c')
-rw-r--r-- | channels/chan_skinny.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 01b1c6024..3e4046feb 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -4425,7 +4425,7 @@ static int skinny_call(struct ast_channel *ast, const char *dest, int timeout) } AST_LIST_TRAVERSE(ast_channel_varshead(ast), current, entries) { - if (!(strcasecmp(ast_var_name(current),"SKINNY_AUTOANSWER"))) { + if (!(strcmp(ast_var_name(current), "SKINNY_AUTOANSWER"))) { if (d->hookstate == SKINNY_ONHOOK && !sub->aa_sched) { char buf[24]; int aatime; |