aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-24 13:15:12 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-24 13:15:12 +0000
commitc96fd097f90f1283e2ffdf99ed1e8bbf77b7df16 (patch)
treea31ce7ea6649475ce00deb8e20684d6e8a73c968 /apps
parent9fafa6963d9d288e1229579922c42bd69a53a0e9 (diff)
Fix email debyg line (bug #2675)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4081 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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 d1bdd8275..31c02dbb2 100755
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -917,7 +917,7 @@ static int sendmail(char *srcemail, struct ast_vm_user *vmu, int msgnum, char *m
fclose(p);
snprintf(tmp2, sizeof(tmp2), "( %s < %s ; rm -f %s ) &", mailcmd, tmp, tmp);
ast_safe_system(tmp2);
- ast_log(LOG_DEBUG, "Sent mail to %s with command '%s'\n", who, mailcmd);
+ ast_log(LOG_DEBUG, "Sent mail to %s with command '%s'\n", vmu->email, mailcmd);
} else {
ast_log(LOG_WARNING, "Unable to launch '%s'\n", mailcmd);
return -1;