diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-02 00:22:22 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-02 00:22:22 +0000 |
commit | d2b807bfa42e1f0ade785b241fdf3ac3b392e5d4 (patch) | |
tree | fd0343a15084eb4f6c3f67101b872ce27b885f52 /main/file.c | |
parent | 63cb1131a2e89ac6c413441847903c4089e151c7 (diff) |
Merged revisions 57396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r57396 | russell | 2007-03-01 18:20:44 -0600 (Thu, 01 Mar 2007) | 4 lines
Return the correct digit that interrupted the stream. This fixes exiting the
Background application when using the m option.
(issue #9176, mjagdis)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57397 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/file.c')
-rw-r--r-- | main/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/file.c b/main/file.c index 9315f225b..c259d5a32 100644 --- a/main/file.c +++ b/main/file.c @@ -1021,6 +1021,7 @@ static int waitstream_core(struct ast_channel *c, const char *breakon, if (context) { const char exten[2] = { fr->subclass, '\0' }; if (ast_exists_extension(c, context, exten, 1, c->cid.cid_num)) { + res = fr->subclass; ast_frfree(fr); return res; } |