From be1ababe30303f42042d17b72d743ffaeabdd6ca Mon Sep 17 00:00:00 2001 From: markster Date: Fri, 25 Nov 2005 19:52:30 +0000 Subject: [PATCH] Fix hint case sensitivity (bug #5856) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7197 f38db490-d61c-443f-a65b-d21fe96a405b --- pbx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */