From: Joshua Colp Date: Sat, 17 Feb 2007 16:48:20 +0000 (+0000) Subject: We want to skip the queue if the name doesn't match the specified one, not if they... X-Git-Tag: 1.6.0-beta1~3^2~3179 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=177953c8f14b3973568e123f2ce9d218a2a3abac;p=thirdparty%2Fasterisk.git We want to skip the queue if the name doesn't match the specified one, not if they *do*. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55198 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 478df3a936..f4916cf65a 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; }