Skip to content
Snippets Groups Projects
Commit 52ea03bd authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Merged revisions 49834 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r49834 | tilghman | 2007-01-07 15:44:52 -0600 (Sun, 07 Jan 2007) | 10 lines

Merged revisions 49833 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r49833 | tilghman | 2007-01-07 15:43:10 -0600 (Sun, 07 Jan 2007) | 2 lines

If openstream fails, then we crash (Issue 8564)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 4866a445
No related branches found
No related tags found
No related merge requests found
......@@ -267,7 +267,8 @@ static int dictate_exec(struct ast_channel *chan, void *data)
if (lastop != DFLAG_PLAY) {
lastop = DFLAG_PLAY;
ast_closestream(fs);
fs = ast_openstream(chan, path, chan->language);
if (!(fs = ast_openstream(chan, path, chan->language)))
break;
ast_seekstream(fs, samples, SEEK_SET);
chan->stream = NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment