[Asterisk-cvs] asterisk/apps app_voicemail.c,1.121,1.122

malcolmd at lists.digium.com malcolmd at lists.digium.com
Wed Jun 30 14:26:05 CDT 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv25986/apps

Modified Files:
	app_voicemail.c 
Log Message:
"Unfix" Bug 1957...this isn't the solution


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -d -r1.121 -r1.122
--- app_voicemail.c	30 Jun 2004 17:49:42 -0000	1.121
+++ app_voicemail.c	30 Jun 2004 18:11:56 -0000	1.122
@@ -833,12 +833,7 @@
 	time_t t;
 	struct tm tm;
 	struct vm_zone *the_zone = NULL;
-
-	if (vmu && (strchr(vmu->email, '@') == NULL)) {
-		ast_log(LOG_WARNING, "Invalid e-mail address %s.  E-mail will not be sent.\n", vmu->email);
-		return(0);
-	}
-
+	
 	if (!strcmp(format, "wav49"))
 		format = "WAV";
 	ast_log(LOG_DEBUG, "Attaching file '%s', format '%s', uservm is '%d', global is %d\n", attach, format, attach_user_voicemail, attach_voicemail);




More information about the svn-commits mailing list