If there was no named defined in a voicemail.conf mailbox
authorMark Michelson <mmichelson@digium.com>
Wed, 29 Oct 2008 20:53:53 +0000 (20:53 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 29 Oct 2008 20:53:53 +0000 (20:53 +0000)
commit5652a7b81ede72b23199f5cd166d37c050dc86b5
tree558f31a64a6283976bdbadd47c0da45d744c9a56
parentd736ac2b19b02dab04d3a2bd15ad4058c332e360
If there was no named defined in a voicemail.conf mailbox
entry, then app_directory would crash when attempting to
read that entry from the file. We now check for the NULL
or empty string properly so that there will be no crash.

(closes issue #13804)
Reported by: bluecrow76

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