aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-30 07:22:42 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-30 07:22:42 +0000
commit85bf35526eec6de15c1aaa2f356691e2196c0181 (patch)
tree1ff20c96f64501f94ab6ffdc474263cb99faaabf
parent4af26cbc5c18f77e9bc5bdc24efffdae76e90609 (diff)
fix hint case sensitivity (issue #5856)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7231 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index c44586caa..8ff436778 100644
--- a/pbx.c
+++ b/pbx.c
@@ -1888,7 +1888,7 @@ void ast_hint_state_changed(const char *device)
ast_copy_string(buf, ast_get_extension_app(hint->exten), sizeof(buf));
parse = buf;
for (cur = strsep(&parse, "&"); cur; cur = strsep(&parse, "&")) {
- if (strcmp(cur, device))
+ if (strcasecmp(cur, device))
continue;
/* Get device state for this hint */