Fix unexpected behavior in voicemail (bug #1856)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-06-15 20:33:26 +00:00
parent 7255d8797c
commit ada1e768c4
2 changed files with 7 additions and 1 deletions

3
app.c
View File

@@ -472,8 +472,9 @@ int ast_control_streamfile(struct ast_channel *chan, char *file, char *fwd, char
if (res == -1)
break;
/* if we get one of our stop chars, return it to the calling function */
if (stop && strchr(stop, res)) {
res = 0;
/* res = 0; */
break;
}
}