mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Lots of coding guidelines cleanup.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2757,13 +2757,11 @@ static int copy_message(struct ast_channel *chan, struct ast_vm_user *vmu, int i
|
||||
{
|
||||
struct vm_state *sendvms = NULL, *destvms = NULL;
|
||||
char messagestring[10]; /*I guess this could be a problem if someone has more than 999999999 messages...*/
|
||||
if(!(sendvms = get_vm_state_by_imapuser(vmu->imapuser, 2)))
|
||||
{
|
||||
if (!(sendvms = get_vm_state_by_imapuser(vmu->imapuser, 2))) {
|
||||
ast_log(LOG_ERROR, "Couldn't get vm_state for originator's mailbox!!\n");
|
||||
return -1;
|
||||
}
|
||||
if(!(destvms = get_vm_state_by_imapuser(recip->imapuser, 2)))
|
||||
{
|
||||
if (!(destvms = get_vm_state_by_imapuser(recip->imapuser, 2))) {
|
||||
ast_log(LOG_ERROR, "Couldn't get vm_state for destination mailbox!\n");
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user