fix hint case sensitivity (issue #5856)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2005-11-30 07:22:42 +00:00
parent d03694df19
commit 5e3f4186da

2
pbx.c
View File

@@ -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 */