aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;