diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-19 13:55:25 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-19 13:55:25 +0000 |
commit | ee0cf8418df5a12bdb324437e8120cb2de789176 (patch) | |
tree | 62a96e1eb1e3f7f2cbff0c04e13f1fa9a6cefaa0 /apps | |
parent | 8f64e3153658e93f68c133233ff126617a076b5d (diff) |
Merged revisions 69894 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r69894 | file | 2007-06-19 09:54:03 -0400 (Tue, 19 Jun 2007) | 2 lines
Perform an extra hangup check just in case. (issue #9589 reported by bcnit)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69895 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_meetme.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index ba4e65982..8c60713bd 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1879,6 +1879,10 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c break; } + /* Perform an extra hangup check just in case */ + if (ast_check_hangup(chan)) + break; + if (c) { if (c->fds[0] != origfd) { if (using_pseudo) { @@ -2137,8 +2141,6 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c chan->name, f->frametype, f->subclass); } ast_frfree(f); - if (ast_check_hangup(chan)) - break; } else if (outfd > -1) { res = read(outfd, buf, CONF_SIZE); if (res > 0) { |