aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-28 14:24:10 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-28 14:24:10 +0000
commitd866f747fbcd4e6b7b3b826b27f98be60acd6ae8 (patch)
treee1d2be3dcbaf0fb12cc963c7eb5af55760b0ecd1 /apps/app_queue.c
parent43811510db50eb3ef756e975ddf73c67d5792c53 (diff)
Add wrapup time
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1230 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-xapps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index fd5fb885e..d94625d83 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -345,7 +345,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
*allowredir_out = o->allowredirect_out;
*allowdisconnect = o->allowdisconnect;
}
- } else if (o->chan == winner) {
+ } else if (o->chan && (o->chan == winner)) {
f = ast_read(winner);
if (f) {
if (f->frametype == AST_FRAME_CONTROL) {