aboutsummaryrefslogtreecommitdiffstats
path: root/app.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-15 20:33:26 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-15 20:33:26 +0000
commit9af3a68d8798cb0282395503d60c4bb5b799fc5d (patch)
tree8c6264755b1c38f646ce11c5a478aae09683f060 /app.c
parentde496912f4c2ddaf36407c94fda16f9000be93aa (diff)
Fix unexpected behavior in voicemail (bug #1856)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3219 f38db490-d61c-443f-a65b-d21fe96a405b
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;
}
}