aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-07-01 17:34:42 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-07-01 17:34:42 +0000
commit1c7cb960b1974b637b3ab75c79d8d8281df06b5c (patch)
tree44678cfd53c8746f7108e331d2d76adf289701f4 /apps/app_voicemail.c
parent4d0203da0ceb6d977b685d628b28147dc4fbc959 (diff)
Reverse login on voicemail email sending. Last change made it send email only if there was no address specified
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3371 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-rwxr-xr-xapps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 8a132b29b..413b6f210 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);
}