summaryrefslogtreecommitdiff
path: root/pbx/pbx_config.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2009-01-22 17:19:28 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2009-01-22 17:19:28 +0000
commit53ddd52fc4aae9aa53ebbe0fb3389a89452b4f4e (patch)
tree222ecd0a209aa491a131742e694d6614df734690 /pbx/pbx_config.c
parentf6f5197e635263ed15f112bb7d6c65b57dd00bd6 (diff)
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: https://origsvn.digium.com/svn/asterisk/trunk@170165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_config.c')
-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 8b8abb3db..64c99b500 100644
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -1408,7 +1408,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;