]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix voicemail debug output (bug #2789)
authorRussell Bryant <russell@russellbryant.com>
Mon, 8 Nov 2004 00:30:21 +0000 (00:30 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 8 Nov 2004 00:30:21 +0000 (00:30 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4182 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index ebd379150f7d23bf72c11dbd6be19ccc1b7e9f59..d3dcaa0eecdb433cf3db5946ff88ee308c49bbf9 100755 (executable)
@@ -1091,7 +1091,7 @@ static int sendpage(char *srcemail, char *pager, int msgnum, char *mailbox, char
                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 page to %s with command '%s'\n", pager, mailcmd);
        } else {
                ast_log(LOG_WARNING, "Unable to launch '%s'\n", mailcmd);
                return -1;