app_queue: Fix incorrect assertion.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 9 Jan 2013 00:05:35 +0000 (00:05 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 9 Jan 2013 00:05:35 +0000 (00:05 +0000)
(issue ASTERISK-16115)
........

Merged revisions 378689 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 378690 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@378691 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index b3d4d40..f02ed44 100644 (file)
@@ -3624,7 +3624,7 @@ static int ring_entry(struct queue_ent *qe, struct callattempt *tmp, int *busies
                ++*busies;
                return 0;
        }
-       ast_assert(qe->parent->ringinuse || tmp->member->call_pending);
+       ast_assert(tmp->member->ringinuse || tmp->member->call_pending);
 
        ast_copy_string(tech, tmp->interface, sizeof(tech));
        if ((location = strchr(tech, '/'))) {