[asterisk-commits] tilghman: trunk r234458 - /trunk/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Dec 13 03:41:51 CST 2009


Author: tilghman
Date: Sun Dec 13 03:41:43 2009
New Revision: 234458

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=234458
Log:
Trim leading/trailing spaces from the filename, to deal with common user error.

Modified:
    trunk/main/pbx.c

Modified: trunk/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/pbx.c?view=diff&rev=234458&r1=234457&r2=234458
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Sun Dec 13 03:41:43 2009
@@ -9148,7 +9148,7 @@
 	}
 
 	if (!res) {
-		char *back = args.filename;
+		char *back = ast_strip(args.filename);
 		char *front;
 
 		ast_stopstream(chan);		/* Stop anything playing */




More information about the asterisk-commits mailing list