diff options
author | George Joseph <george.joseph@fairview5.com> | 2015-03-05 16:40:27 +0000 |
---|---|---|
committer | George Joseph <george.joseph@fairview5.com> | 2015-03-05 16:40:27 +0000 |
commit | 5c3e33b3ca5a726162745c4fb5435d98f737a3b7 (patch) | |
tree | 46f2c0e1ded2c5e706a2463a5ea78be4bb9ac384 /apps | |
parent | 41ba8fd7c07317f296af924be840f8b758fd138b (diff) |
app_voicemail: Fix compile breaking in app_voicemail with IMAP_STORAGE.
There is a leftover "assert" in app_voicemail/__messagecount that references
variables that don't exist. This causes the compile to fail when
--enable-dev-mode and IMAP_STORAGE are selected.
This patch removes the assert.
Tested-by: George Joseph
Review: https://reviewboard.asterisk.org/r/4461/
........
Merged revisions 432484 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 432485 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 8e2df022c..fa334e350 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -2446,7 +2446,6 @@ static int __messagecount(const char *context, const char *mailbox, const char * free_user(vmu); return -1; } - ast_assert(msgnum < vms->msg_array_max); /* check if someone is accessing this box right now... */ vms_p = get_vm_state_by_imapuser(vmu->imapuser, 1); |