1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-02 02:15:28 +00:00

Add missing b flag to fopen() call.

This commit is contained in:
Laurent MONIN 2006-01-01 23:47:34 +01:00 committed by Jonas Fonseca
parent 6e24450bdf
commit 9d287c24ae

View File

@ -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;