aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-25 19:52:30 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-25 19:52:30 +0000
commitbe1ababe30303f42042d17b72d743ffaeabdd6ca (patch)
treec46403a3fa1df28ada17284eaf987ec207a6942c /pbx.c
parent3d4721b2ae8ce79ca39dfadd5c3681751a48e318 (diff)
Fix hint case sensitivity (bug #5856)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7197 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index f16b6e2b5..950cc2ffc 100755
--- 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 */