mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Add missing b flag to fopen() call.
This commit is contained in:
parent
6e24450bdf
commit
9d287c24ae
@ -216,7 +216,7 @@ elinks_log(unsigned char *msg, unsigned char *file, int line,
|
||||
log_files = getenv("ELINKS_FILES");
|
||||
log_msg = getenv("ELINKS_MSG");
|
||||
log_name = getenv("ELINKS_LOG");
|
||||
log_file = log_name ? fopen(log_name, "a") : stderr;
|
||||
log_file = log_name ? fopen(log_name, "ab") : stderr;
|
||||
|
||||
if (!log_file) return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user