summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-03-23 16:52:05 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-03-23 16:52:06 -0500
commitd7ee89b49950522f78afaca70d194f868f59321c (patch)
tree6f8fde60e42f97e785b45fd3f1214a138b0bb9e8
parentb1c688acabeeeba192618755d50c560635e14f0a (diff)
parent13efea24f7ce6ccc01d1a5a0603be2636d83a408 (diff)
Merge "main/app: Only look to end of file if ':end' is specified, and not just ':'"
-rw-r--r--main/app.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/app.c b/main/app.c
index 826e41128..e1d70498c 100644
--- a/main/app.c
+++ b/main/app.c
@@ -1112,6 +1112,8 @@ static int control_streamfile(struct ast_channel *chan,
if (!strcasecmp(end, ":end")) {
*end = '\0';
end++;
+ } else {
+ end = NULL;
}
}