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

This commit is contained in:
Joshua Colp
2016-03-23 16:52:06 -05:00
committed by Gerrit Code Review
+2
View File
@@ -1112,6 +1112,8 @@ static int control_streamfile(struct ast_channel *chan,
if (!strcasecmp(end, ":end")) {
*end = '\0';
end++;
} else {
end = NULL;
}
}