aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-17 16:48:20 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-17 16:48:20 +0000
commitb4c3c874d625c04f893f6b81708ff5cfd50ec0ee (patch)
tree8dd7d6077c60d50dcd9d1050846051d1e5e45e94 /apps
parent9aa0c24a295f611f9cda9fa044097bf17ad09d75 (diff)
We want to skip the queue if the name doesn't match the specified one, not if they *do*.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55198 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 478df3a93..f4916cf65 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -4079,7 +4079,7 @@ static int __queues_show(struct mansession *s, int fd, int argc, char **argv)
float sl;
ast_mutex_lock(&q->lock);
- if (argc == 3 && !strcasecmp(q->name, argv[2])) {
+ if (argc == 3 && strcasecmp(q->name, argv[2])) {
ast_mutex_unlock(&q->lock);
continue;
}