[Asterisk-cvs] asterisk/pbx pbx_config.c,1.28,1.29
markster at lists.digium.com
markster at lists.digium.com
Sun Nov 23 16:19:21 CST 2003
Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv25002/pbx
Modified Files:
pbx_config.c
Log Message:
Ignore leading spaces before application
Index: pbx_config.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_config.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- pbx_config.c 23 Nov 2003 22:40:37 -0000 1.28
+++ pbx_config.c 23 Nov 2003 22:45:42 -0000 1.29
@@ -1623,6 +1623,7 @@
if (!data)
data="";
+ while(*appl && (*appl < 33)) appl++;
pbx_substitute_variables_helper(NULL, ext, realext, sizeof(realext) - 1);
if (ipri) {
if (ast_add_extension2(con, 0, realext, ipri, cidmatch, appl, strdup(data), FREE, registrar)) {
More information about the svn-commits
mailing list