mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-24 01:08:34 -07:00
Trim leading/trailing spaces from the filename, to deal with common user error.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@234458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
+1
-1
@@ -9148,7 +9148,7 @@ static int pbx_builtin_background(struct ast_channel *chan, const char *data)
|
||||
}
|
||||
|
||||
if (!res) {
|
||||
char *back = args.filename;
|
||||
char *back = ast_strip(args.filename);
|
||||
char *front;
|
||||
|
||||
ast_stopstream(chan); /* Stop anything playing */
|
||||
|
||||
Reference in New Issue
Block a user