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
This commit is contained in:
Russell Bryant
2005-07-10 23:49:57 +00:00
parent c18fd5cd8c
commit 4c531ca8c0
14 changed files with 54 additions and 53 deletions

View File

@@ -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;