summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-10-24 13:15:12 +0000
committerMark Spencer <markster@digium.com>2004-10-24 13:15:12 +0000
commitd687e019e5373317c642ec5156412326af03925c (patch)
treea31ce7ea6649475ce00deb8e20684d6e8a73c968 /apps
parentf8d3b1ad777e9749928fd381d28977fd2e1d66a0 (diff)
Fix email debyg line (bug #2675)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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;