aboutsummaryrefslogtreecommitdiffstats
path: root/app.c
diff options
context:
space:
mode:
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;
}
}