]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix debug message for voicemail email (bug #2675)
authorRussell Bryant <russell@russellbryant.com>
Mon, 25 Oct 2004 00:51:27 +0000 (00:51 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 25 Oct 2004 00:51:27 +0000 (00:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4093 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 399bd0b9c4bcdeb5e79f19bb5b4a7ce42d85d522..f4dad6a7c471ccd0624cc3f1bea5773f5d6f9978 100755 (executable)
@@ -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;