mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user