aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_macro.c
diff options
context:
space:
mode:
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;