Merged revisions 79690 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Thu, 16 Aug 2007 15:59:15 +0000 (15:59 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 16 Aug 2007 15:59:15 +0000 (15:59 +0000)
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

apps/app_voicemail.c

index 824c102..5a8f452 100644 (file)
@@ -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;
        }