aboutsummaryrefslogtreecommitdiff
path: root/libsylph/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/utils.c')
-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
}