Minor mailbox cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
cf24f7ff7e
commit
ba264f8158
|
@ -3426,9 +3426,8 @@ static int vm_box_exists(struct ast_channel *chan, void *data) {
|
|||
struct ast_vm_user *vmu;
|
||||
struct ast_vm_user svm;
|
||||
char *context, *box;
|
||||
int branch=0;
|
||||
|
||||
if (!data) {
|
||||
if (!data || !strlen(data)) {
|
||||
ast_log(LOG_ERROR, "MailboxExists requires an argument: (vmbox[@context])\n");
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue