[Asterisk-cvs] asterisk/apps app_voicemail.c,1.95,1.96
markster at lists.digium.com
markster at lists.digium.com
Sun May 23 20:13:10 CDT 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv8319/apps
Modified Files:
app_voicemail.c
Log Message:
Minor mailbox cleanups
Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- app_voicemail.c 23 May 2004 05:07:43 -0000 1.95
+++ app_voicemail.c 24 May 2004 00:26:46 -0000 1.96
@@ -3426,9 +3426,8 @@
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;
}
More information about the svn-commits
mailing list