diff options
author | Russell Bryant <russell@russellbryant.com> | 2005-07-10 23:49:57 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2005-07-10 23:49:57 +0000 |
commit | 4c531ca8c0c9e88a12c011b59085184f72087e59 (patch) | |
tree | 4db59d5d09ba10d210876efd1cab834c716be5b0 /apps/app_voicemail.c | |
parent | c18fd5cd8c1b6e582915d920d0831441505c30fc (diff) |
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rwxr-xr-x | apps/app_voicemail.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 2d33d55ef..c65d504b1 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -158,8 +158,8 @@ struct baseio { /* Structure for linked list of users */ struct ast_vm_user { - char context[80]; /* Voicemail context */ - char mailbox[80]; /* Mailbox id, unique within vm context */ + char context[AST_MAX_CONTEXT]; /* Voicemail context */ + char mailbox[AST_MAX_EXTENSION];/* Mailbox id, unique within vm context */ char password[80]; /* Secret pin code, numbers only */ char fullname[80]; /* Full name, for directory app */ char email[80]; /* E-mail address */ @@ -321,9 +321,9 @@ static struct ast_flags globalflags = {0}; static int saydurationminfo; -static char dialcontext[80]; -static char callcontext[80]; -static char exitcontext[80]; +static char dialcontext[AST_MAX_CONTEXT]; +static char callcontext[AST_MAX_CONTEXT]; +static char exitcontext[AST_MAX_CONTEXT]; static char cidinternalcontexts[MAX_NUM_CID_CONTEXTS][64]; |