Skip to content
Snippets Groups Projects
Commit d7ee89b4 authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "main/app: Only look to end of file if ':end' is specified, and not just ':'"

parents b1c688ac 13efea24
Branches
Tags
No related merge requests found
...@@ -1112,6 +1112,8 @@ static int control_streamfile(struct ast_channel *chan, ...@@ -1112,6 +1112,8 @@ static int control_streamfile(struct ast_channel *chan,
if (!strcasecmp(end, ":end")) { if (!strcasecmp(end, ":end")) {
*end = '\0'; *end = '\0';
end++; end++;
} else {
end = NULL;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment