projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf24f7f
)
Minor mailbox cleanups
author
Mark Spencer
<markster@digium.com>
Mon, 24 May 2004 00:26:46 +0000
(
00:26
+0000)
committer
Mark Spencer
<markster@digium.com>
Mon, 24 May 2004 00:26:46 +0000
(
00:26
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3049
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_voicemail.c
patch
|
blob
|
history
diff --git
a/apps/app_voicemail.c
b/apps/app_voicemail.c
index
c30085e
..
cba6db4
100755
(executable)
--- a/
apps/app_voicemail.c
+++ b/
apps/app_voicemail.c
@@
-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;
}