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

@@ -278,7 +278,7 @@ struct ast_channel {
/*! Set BEFORE PBX is started to determine AMA flags */
int amaflags;
/*! Account code for billing */
char accountcode[20];
char accountcode[AST_MAX_ACCOUNT_CODE];
/*! Call Detail Record */
struct ast_cdr *cdr;
/*! Whether or not ADSI is detected on CPE */