Found a grievous logical error in get_vm_state_by_imapuser.
authorMark Michelson <mmichelson@digium.com>
Fri, 29 Jun 2007 20:02:00 +0000 (20:02 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 29 Jun 2007 20:02:00 +0000 (20:02 +0000)
commit7415c3ee1edbe411b55a62bb5b83f1b843720ac3
tree3e7ec095c06ea802aba30bbd9ce2a7cb77ec25bb
parent4df1a79314d0fe3fa04a65dcc11465d20e30bacc
Found a grievous logical error in get_vm_state_by_imapuser.
The imapuser being passed in was never getting compared to imapusers of any of the vm_states
in the vmstates list.

I also found some places in the code where I used my typical brace style and changed it to match
the typical Asterisk brace style.

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