From: Mark Michelson Date: Thu, 16 Aug 2007 15:59:15 +0000 (+0000) Subject: Merged revisions 79690 via svnmerge from X-Git-Tag: 1.6.0-beta1~3^2~1714 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80f49f0ac88688f42cb87bfded6ee53c2a2aae7e;p=thirdparty%2Fasterisk.git Merged revisions 79690 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r79690 | mmichelson | 2007-08-16 10:58:34 -0500 (Thu, 16 Aug 2007) | 5 lines 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/trunk@79691 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 824c102ae9..5a8f4521ca 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1793,7 +1793,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; }