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

@@ -196,7 +196,7 @@ static int test_jit = 0;
static int test_jitpct = 0;
#endif /* IAXTESTS */
static char accountcode[20];
static char accountcode[AST_MAX_ACCOUNT_CODE];
static int amaflags = 0;
static int delayreject = 0;
static int iax2_encryption = 0;
@@ -249,7 +249,7 @@ struct iax2_user {
char dbsecret[80];
int authmethods;
int encmethods;
char accountcode[20];
char accountcode[AST_MAX_ACCOUNT_CODE];
char inkeys[80]; /* Key(s) this user can use to authenticate to us */
char language[MAX_LANGUAGE];
int amaflags;
@@ -544,7 +544,7 @@ struct chan_iax2_pvt {
int calling_tns;
int calling_pres;
char dproot[AST_MAX_EXTENSION];
char accountcode[20];
char accountcode[AST_MAX_ACCOUNT_CODE];
int amaflags;
struct iax2_dpcache *dpentries;
struct ast_variable *vars;