From: James Golovich Date: Thu, 1 Jul 2004 17:34:42 +0000 (+0000) Subject: Reverse login on voicemail email sending. Last change made it send email only if... X-Git-Tag: 1.0.0-rc1~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8ebe63659a1db70159aec65c3820c2f243c103;p=thirdparty%2Fasterisk.git Reverse login on voicemail email sending. Last change made it send email only if there was no address specified git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3371 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 8a132b29b8..413b6f2105 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -833,7 +833,7 @@ static int sendmail(char *srcemail, struct ast_vm_user *vmu, int msgnum, char *m 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); }