mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
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/branches/1.4@170158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2245,7 +2245,11 @@ static int pbx_load_config(const char *config_file)
|
|||||||
struct ast_config *cfg;
|
struct ast_config *cfg;
|
||||||
char *end;
|
char *end;
|
||||||
char *label;
|
char *label;
|
||||||
|
#ifdef LOW_MEMORY
|
||||||
char realvalue[256];
|
char realvalue[256];
|
||||||
|
#else
|
||||||
|
char realvalue[8192];
|
||||||
|
#endif
|
||||||
int lastpri = -2;
|
int lastpri = -2;
|
||||||
struct ast_context *con;
|
struct ast_context *con;
|
||||||
struct ast_variable *v;
|
struct ast_variable *v;
|
||||||
|
Reference in New Issue
Block a user