From ec2f24b9011427795fc78418bc7b7ad9458b7985 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Thu, 16 Aug 2007 15:58:34 +0000 Subject: [PATCH] base_encode is not trying to open a log file, so we should not call it a log file in the warning. (related to issue #10452, reported by bcnit) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@79690 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 024e2cdc9d..8968127598 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1626,7 +1626,7 @@ static int base_encode(char *filename, FILE *so) bio.iocp = BASEMAXINLINE; if (!(fi = fopen(filename, "rb"))) { - ast_log(LOG_WARNING, "Failed to open log file: %s: %s\n", filename, strerror(errno)); + ast_log(LOG_WARNING, "Failed to open file: %s: %s\n", filename, strerror(errno)); return -1; }