mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
2
pbx.c
2
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 */
|
||||
|
Reference in New Issue
Block a user