diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-28 14:24:10 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-28 14:24:10 +0000 |
commit | d866f747fbcd4e6b7b3b826b27f98be60acd6ae8 (patch) | |
tree | e1d2be3dcbaf0fb12cc963c7eb5af55760b0ecd1 /apps | |
parent | 43811510db50eb3ef756e975ddf73c67d5792c53 (diff) |
Add wrapup time
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1230 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | 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 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) { |