diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-10 23:49:57 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-10 23:49:57 +0000 |
commit | 72af60b3e6fa9af1b23524377a82330e18cca8d3 (patch) | |
tree | 4db59d5d09ba10d210876efd1cab834c716be5b0 /apps/app_voicemail.c | |
parent | cbc8a4b7d2382b98f0666fd6a81ce4cca5a4fc22 (diff) |
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6076 f38db490-d61c-443f-a65b-d21fe96a405b
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]; |