From: Russell Bryant Date: Mon, 8 Nov 2004 00:30:21 +0000 (+0000) Subject: fix voicemail debug output (bug #2789) X-Git-Tag: 1.0.11.1~394 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66d0e5756f6cb3da775dcae0fa7334d9d2e13b72;p=thirdparty%2Fasterisk.git fix voicemail debug output (bug #2789) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4182 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index ebd379150f..d3dcaa0eec 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -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;