mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
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
This commit is contained in:
@@ -4079,7 +4079,7 @@ static int __queues_show(struct mansession *s, int fd, int argc, char **argv)
|
|||||||
float sl;
|
float sl;
|
||||||
|
|
||||||
ast_mutex_lock(&q->lock);
|
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);
|
ast_mutex_unlock(&q->lock);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user