aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-26 21:53:56 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-26 21:53:56 +0000
commitca58ad9bfb2016616a0a9bb4b57342f8d9cebe6f (patch)
tree1381c154064d09709a0693cb483cec0537fd5ac4 /apps
parent9e78450715ed62f95b34218be3e0f4fbd3cedac2 (diff)
make queue and interface name matching case-insensitive (bug #4815)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6226 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 771794338..b56741a0e 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -2175,7 +2175,7 @@ static struct member * interface_exists(struct ast_call_queue *q, char *interfac
if (q)
for (mem = q->members; mem; mem = mem->next)
- if (!strcmp(interface, mem->interface))
+ if (!strcasecmp(interface, mem->interface))
return mem;
return NULL;
@@ -2328,7 +2328,7 @@ static int set_member_paused(char *queuename, char *interface, int paused)
ast_mutex_lock(&qlock);
for (q = queues ; q ; q = q->next) {
ast_mutex_lock(&q->lock);
- if (ast_strlen_zero(queuename) || !strcmp(q->name, queuename)) {
+ if (ast_strlen_zero(queuename) || !strcasecmp(q->name, queuename)) {
if ((mem = interface_exists(q, interface))) {
found++;
if (mem->paused == paused)