diff options
author | Russell Bryant <russell@russellbryant.com> | 2005-07-10 23:49:57 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2005-07-10 23:49:57 +0000 |
commit | 4c531ca8c0c9e88a12c011b59085184f72087e59 (patch) | |
tree | 4db59d5d09ba10d210876efd1cab834c716be5b0 /apps/app_macro.c | |
parent | c18fd5cd8c1b6e582915d920d0831441505c30fc (diff) |
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_macro.c')
-rwxr-xr-x | apps/app_macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_macro.c b/apps/app_macro.c index fb48edc21..a8065f6ed 100755 --- a/apps/app_macro.c +++ b/apps/app_macro.c @@ -88,7 +88,7 @@ static int macro_exec(struct ast_channel *chan, void *data) char oldexten[256]=""; int oldpriority; char pc[80]; - char oldcontext[256] = ""; + char oldcontext[AST_MAX_CONTEXT] = ""; char *offsets; int offset; int setmacrocontext=0; |