[asterisk-commits] tilghman: branch 1.4 r170158 - /branches/1.4/pbx/pbx_config.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 22 11:18:07 CST 2009


Author: tilghman
Date: Thu Jan 22 11:18:07 2009
New Revision: 170158

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=170158
Log:
Allow global variables after substitution to be as long as other variables.
(closes issue #14263)
 Reported by: markd
 Patches: 
       20090120__bug14263.diff.txt uploaded by Corydon76 (license 14)

Modified:
    branches/1.4/pbx/pbx_config.c

Modified: branches/1.4/pbx/pbx_config.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/pbx/pbx_config.c?view=diff&rev=170158&r1=170157&r2=170158
==============================================================================
--- branches/1.4/pbx/pbx_config.c (original)
+++ branches/1.4/pbx/pbx_config.c Thu Jan 22 11:18:07 2009
@@ -2245,7 +2245,11 @@
 	struct ast_config *cfg;
 	char *end;
 	char *label;
+#ifdef LOW_MEMORY
 	char realvalue[256];
+#else
+	char realvalue[8192];
+#endif
 	int lastpri = -2;
 	struct ast_context *con;
 	struct ast_variable *v;




More information about the asterisk-commits mailing list