aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-25 00:51:27 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-25 00:51:27 +0000
commit175f7e8a0aad8ac90fd1f93eadb98e09c34b54f6 (patch)
tree9d98a3bc19f12c37bf883d6a759ab90ce9582f96 /apps/app_voicemail.c
parent8837e3cc1bf960d51b8d54b3cd7751c64a1fb586 (diff)
fix debug message for voicemail email (bug #2675)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@4093 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 399bd0b9c..f4dad6a7c 100755
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -1004,7 +1004,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;