diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-25 17:18:05 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-25 17:18:05 +0000 |
commit | ea6f06e9fbb263a8081bad81cd6a6aefdc8fd276 (patch) | |
tree | fd84f27275e15d0f0980dfbea8db62e248576f79 /include/asterisk/channel.h | |
parent | 3c746d45b9512fd4efdabe7533b3137bbf5d6b8f (diff) |
Use defined AST_MAX_ACCOUNT_CODE (bug #4350)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5765 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel.h')
-rwxr-xr-x | include/asterisk/channel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index e3dd749cb..5335d284b 100755 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -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 */ |