Fix hint case sensitivity (bug #5856)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7197 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
3d4721b2ae
commit
be1ababe30
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