mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user