projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2923086
)
Trim leading/trailing spaces from the filename, to deal with common user error.
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Sun, 13 Dec 2009 09:41:43 +0000
(09:41 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Sun, 13 Dec 2009 09:41:43 +0000
(09:41 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@234458
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/pbx.c
patch
|
blob
|
history
diff --git
a/main/pbx.c
b/main/pbx.c
index
18a1a48
..
4843022
100644
(file)
--- a/
main/pbx.c
+++ b/
main/pbx.c
@@
-9148,7
+9148,7
@@
static int pbx_builtin_background(struct ast_channel *chan, const char *data)
}
if (!res) {
}
if (!res) {
- char *back = args.filename;
+ char *back = ast_strip(args.filename);
char *front;
ast_stopstream(chan); /* Stop anything playing */
char *front;
ast_stopstream(chan); /* Stop anything playing */