diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-08-20 06:07:20 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-08-20 06:07:20 +0000 |
commit | 28641e084acc8b042448c788fe32c74a983b4bc0 (patch) | |
tree | 71874bbd810b86817aeafe4b199abd380c7f64c8 /libsylph/utils.c | |
parent | 7fb3ff92dbb51f68b9188dfc0844af61fc971f6b (diff) |
set_log_file(): open log file as text mode.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2218 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/utils.c')
-rw-r--r-- | libsylph/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/utils.c b/libsylph/utils.c index d67ff14d..574f8427 100644 --- a/libsylph/utils.c +++ b/libsylph/utils.c @@ -4190,7 +4190,7 @@ static FILE *log_fp = NULL; void set_log_file(const gchar *filename) { if (log_fp) return; - log_fp = g_fopen(filename, "wb"); + log_fp = g_fopen(filename, "w"); if (!log_fp) FILE_OP_ERROR(filename, "fopen"); } |