aboutsummaryrefslogtreecommitdiff
path: root/libsylph/utils.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-08-20 06:07:20 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-08-20 06:07:20 +0000
commit28641e084acc8b042448c788fe32c74a983b4bc0 (patch)
tree71874bbd810b86817aeafe4b199abd380c7f64c8 /libsylph/utils.c
parent7fb3ff92dbb51f68b9188dfc0844af61fc971f6b (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.c2
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");
}