diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-26 17:38:29 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-26 17:38:29 +0000 |
commit | 447253fbc7b4ab5376f622c323ab2046248563c7 (patch) | |
tree | 17c46258e9fb10bc2661fbeed28b6d810ed08a20 /main/ast_expr2f.c | |
parent | 3c6b98aa3dc1e2c146c030c4deefa9fac3ad1ceb (diff) |
A fix for the flex input files, DONT_COMPILE, and STANDALONE_AEL
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59206 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/ast_expr2f.c')
-rw-r--r-- | main/ast_expr2f.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/ast_expr2f.c b/main/ast_expr2f.c index b0e69450f..6ba3244dd 100644 --- a/main/ast_expr2f.c +++ b/main/ast_expr2f.c @@ -3122,7 +3122,7 @@ int ast_expr(char *expr, char *buf, int length) res_length = snprintf(buf, length, "%ld", (long int) io.val->u.i); return_value = (res_length <= length) ? res_length : length; } else { -#if defined(STANDALONE) || defined(LOW_MEMORY) +#if defined(STANDALONE) || defined(LOW_MEMORY) || defined(STANDALONE_AEL) strncpy(buf, io.val->u.s, length - 1); #else /* !STANDALONE && !LOW_MEMORY */ ast_copy_string(buf, io.val->u.s, length); |