Use defined AST_MAX_ACCOUNT_CODE (bug #4350)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-05-25 17:18:05 +00:00
parent 9644f1dcfe
commit 41e7cc8154
9 changed files with 18 additions and 17 deletions

View File

@@ -229,7 +229,7 @@ static int busycount = 3;
static int callprogress = 0;
static char accountcode[20] = "";
static char accountcode[AST_MAX_ACCOUNT_CODE] = "";
static char mailbox[AST_MAX_EXTENSION];
@@ -580,7 +580,7 @@ static struct zt_pvt {
int destroy;
int ignoredtmf;
int inalarm;
char accountcode[20]; /* Account code */
char accountcode[AST_MAX_ACCOUNT_CODE]; /* Account code */
int amaflags; /* AMA Flags */
char didtdd; /* flag to say its done it once */
struct tdd_state *tdd; /* TDD flag */