mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user