diff options
author | Corey Farrell <git@cfware.com> | 2014-11-04 14:09:43 +0000 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2014-11-04 14:09:43 +0000 |
commit | ac48e34b879768a6efbf1651693acdf030496f8f (patch) | |
tree | 6c6258dd96db9f2bb27a4d5355be3399ce9117ab /main | |
parent | b586e7f0b221c07ae86fa0bdf85617c471933423 (diff) |
Fix crash caused by merge error on review 4138
When merging from 12 to 13 there were conflicts,
I mistakenly had the loop run ast_closestream(others[0])
when it should be ast_closestream(others[x]).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@427181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/app.c b/main/app.c index 64a4ae672..46589ea4a 100644 --- a/main/app.c +++ b/main/app.c @@ -1793,7 +1793,7 @@ static int __ast_play_and_record(struct ast_channel *chan, const char *playfile, break; } if (!realfiles[x]) { - ast_closestream(others[0]); + ast_closestream(others[x]); continue; } /*!\note Same logic as above. */ |