dect
/
asterisk
Archived
13
0
Fork 0

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:
markster 2005-11-25 19:52:30 +00:00
parent 3d4721b2ae
commit be1ababe30
1 changed files with 1 additions and 1 deletions

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