Fix page thingy (bug #2789)
authorMark Spencer <markster@digium.com>
Sun, 7 Nov 2004 20:25:17 +0000 (20:25 +0000)
committerMark Spencer <markster@digium.com>
Sun, 7 Nov 2004 20:25:17 +0000 (20:25 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4173 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 83ec8a1..88d9af2 100755 (executable)
@@ -1035,7 +1035,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;