mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Bunch of coding guidelines cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@94543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2569,13 +2569,11 @@ static int copy_message(struct ast_channel *chan, struct ast_vm_user *vmu, int i
|
||||
ast_log(LOG_WARNING, "Unable to copy mail, mailbox %s is full\n", recip->mailbox);
|
||||
return -1;
|
||||
}
|
||||
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