From 5e3f4186da00074e09729f7eed8897afe3a03264 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 30 Nov 2005 07:22:42 +0000 Subject: [PATCH] fix hint case sensitivity (issue #5856) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7231 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbx.c b/pbx.c index c44586caac..8ff4367782 100644 --- 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 */