summaryrefslogtreecommitdiff
path: root/app.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-06-15 20:33:26 +0000
committerMark Spencer <markster@digium.com>2004-06-15 20:33:26 +0000
commitada1e768c46a689636de407e0692ea742894fd1f (patch)
tree8c6264755b1c38f646ce11c5a478aae09683f060 /app.c
parent7255d8797c02d375c45904ee1fcb1a03e2081b55 (diff)
Fix unexpected behavior in voicemail (bug #1856)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'app.c')
-rwxr-xr-xapp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/app.c b/app.c
index 2f3ac6cd7..f041bd323 100755
--- a/app.c
+++ b/app.c
@@ -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;
}
}