Merged revisions 73727 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Fri, 6 Jul 2007 16:39:11 +0000 (16:39 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 6 Jul 2007 16:39:11 +0000 (16:39 +0000)
commit80f8dd3f812acb9c8a9bde16297411dcc6675fed
treeef1abcefedcc4db9a10bdb1afcda7f7992525afd
parentd544d6377ec011cf6aef7e8dc13ef07b56d18ba4
Merged revisions 73727 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73727 | mmichelson | 2007-07-06 11:36:17 -0500 (Fri, 06 Jul 2007) | 8 lines

Fixing a rare case which causes voicemail to crash when compiled with IMAP storage.
inboxcount has the possibility of finding an "interactive" vm_state when no persistent "non-interactive"
vm_state exists for that mailbox. If this should happen when someone attempts to leave a message, it results in
a crash. This patch, along with my commit in revision 72670 fix issue 10053, reported by jaroth.

closes issue #10053

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_voicemail.c