[Asterisk-cvs] asterisk/apps app_queue.c,1.151,1.152
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Tue Jul 26 17:47:22 CDT 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv24462/apps
Modified Files:
app_queue.c
Log Message:
make queue and interface name matching case-insensitive (bug #4815)
Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- app_queue.c 20 Jul 2005 00:34:00 -0000 1.151
+++ app_queue.c 26 Jul 2005 21:53:56 -0000 1.152
@@ -2175,7 +2175,7 @@
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 @@
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)
More information about the svn-commits
mailing list