aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-22 17:20:45 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-22 17:20:45 +0000
commit610d5bd6538998c55969e28296a0d19e144c3cee (patch)
treec47b1af24945156f65f1fb6ea1183ad2bc5bd213 /pbx
parent3972f0843ee9997ec6f6f701852b3a6190058cf2 (diff)
Merged revisions 170165 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r170165 | tilghman | 2009-01-22 11:19:28 -0600 (Thu, 22 Jan 2009) | 13 lines Merged revisions 170158 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r170158 | tilghman | 2009-01-22 11:18:07 -0600 (Thu, 22 Jan 2009) | 6 lines 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) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@170172 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index dc4813639..f2cf7448b 100644
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -1400,7 +1400,11 @@ static int pbx_load_config(const char *config_file)
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;