aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-12-25 08:00:44 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-12-25 08:00:44 +0000
commit4eadc36300cb4566f731ea71372f2edb9e0c6849 (patch)
tree7be9df3c09ba89c4f96f80715e28f227a7c42683
parent959f0bca04be8a58bdf0533793dd17514251db27 (diff)
fixed compilation failure.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1458 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--libsylph/utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libsylph/utils.c b/libsylph/utils.c
index 428b5c84..803892c5 100644
--- a/libsylph/utils.c
+++ b/libsylph/utils.c
@@ -3168,9 +3168,8 @@ gint change_file_mode_rw(FILE *fp, const gchar *file)
if (fp)
return fchmod(fileno(fp), S_IRUSR|S_IWUSR);
else
-#else
- return g_chmod(file, S_IRUSR|S_IWUSR);
#endif
+ return g_chmod(file, S_IRUSR|S_IWUSR);
#endif
}