[Asterisk-cvs] asterisk/apps app_voicemail.c,1.124,1.125

citats at lists.digium.com citats at lists.digium.com
Thu Jul 1 13:48:51 CDT 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/home/citats/cvs/asterisk/apps

Modified Files:
	app_voicemail.c 
Log Message:
Reverse login on voicemail email sending.  Last change made it send email only if there was no address specified

Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- app_voicemail.c	30 Jun 2004 18:30:48 -0000	1.124
+++ app_voicemail.c	1 Jul 2004 17:34:42 -0000	1.125
@@ -833,7 +833,7 @@
 	time_t t;
 	struct tm tm;
 	struct vm_zone *the_zone = NULL;
-	if (vmu && !ast_strlen_zero(vmu->email)) {
+	if (vmu && ast_strlen_zero(vmu->email)) {
 		ast_log(LOG_WARNING, "E-mail address missing for mailbox [%s].  E-mail will not be sent.\n", vmu->mailbox);
 		return(0);
 	}




More information about the svn-commits mailing list