diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-18 20:58:41 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-18 20:58:41 +0000 |
commit | 406ad5980ef5c8200037e9d06132ad2eb4601f9e (patch) | |
tree | de05d6fe6bb9176b9bb81b35cd6467f28a7a03e2 /apps/app_queue.c | |
parent | 3b63c3d9825a7641e34c50ed8acb5a53cfcd4eb9 (diff) |
fixes Queue with C option crash
(closes issue #16475)
Reported by: okrief
Patches:
queue_crash.diff uploaded by dvossel (license 671)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@247736 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 288347b5b..7cd8ed0df 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2584,7 +2584,7 @@ static void hangupcalls(struct callattempt *outgoing, struct ast_channel *except while (outgoing) { /* If someone else answered the call we should indicate this in the CANCEL */ /* Hangup any existing lines we have open */ - if (outgoing->chan && (outgoing->chan != exception || cancel_answered_elsewhere)) { + if (outgoing->chan && (outgoing->chan != exception)) { if (exception || cancel_answered_elsewhere) ast_set_flag(outgoing->chan, AST_FLAG_ANSWERED_ELSEWHERE); ast_hangup(outgoing->chan); |