summaryrefslogtreecommitdiff
path: root/pbx/ael/ael_lex.c
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-01-02 22:43:36 +0000
committerSteve Murphy <murf@digium.com>2007-01-02 22:43:36 +0000
commit7c6b71df21b62a3fc512b7ef76af21e08724b025 (patch)
tree766d08251e00e59388f6a24adb96376a173a7516 /pbx/ael/ael_lex.c
parentf7ee0abcd26d6888571a7905b7da14623bdc6bef (diff)
Merged revisions 49237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49237 | murf | 2007-01-02 15:30:53 -0700 (Tue, 02 Jan 2007) | 1 line This is a slight modification to Josh's edits for #8579; both files edited were the produced by flex; so the source files need to be changed instead, and the generated files regenerated. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/ael/ael_lex.c')
-rw-r--r--pbx/ael/ael_lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/ael/ael_lex.c b/pbx/ael/ael_lex.c
index daddeb118..91cc3e7db 100644
--- a/pbx/ael/ael_lex.c
+++ b/pbx/ael/ael_lex.c
@@ -1683,7 +1683,7 @@ YY_RULE_SETUP
if (*(p1+1) != '/')
snprintf(fnamebuf, sizeof(fnamebuf), "%s/%s", ast_config_AST_CONFIG_DIR, p1 + 1);
else
-#ifdef STANDALONE
+#if defined(STANDALONE) || defined(LOW_MEMORY)
strncpy(fnamebuf, p1 + 1, sizeof(fnamebuf) - 1);
#else
ast_copy_string(fnamebuf, p1 + 1, sizeof(fnamebuf));