aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_macro.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-10 23:49:57 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-10 23:49:57 +0000
commit72af60b3e6fa9af1b23524377a82330e18cca8d3 (patch)
tree4db59d5d09ba10d210876efd1cab834c716be5b0 /apps/app_macro.c
parentcbc8a4b7d2382b98f0666fd6a81ce4cca5a4fc22 (diff)
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6076 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_macro.c')
-rwxr-xr-xapps/app_macro.c2
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;