aboutsummaryrefslogtreecommitdiff
path: root/src/mysql/mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mysql/mysql.c')
-rw-r--r--src/mysql/mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql/mysql.c b/src/mysql/mysql.c
index 50f5683d7..68a75d083 100644
--- a/src/mysql/mysql.c
+++ b/src/mysql/mysql.c
@@ -196,7 +196,7 @@ get_my_cnf_path(const struct GNUNET_CONFIGURATION_Handle *cfg,
196 "mysql", 196 "mysql",
197 _("Trying to use file `%s' for MySQL configuration.\n"), 197 _("Trying to use file `%s' for MySQL configuration.\n"),
198 cnffile); 198 cnffile);
199 if ((0 != STAT(cnffile, &st)) || (0 != ACCESS(cnffile, R_OK)) || 199 if ((0 != stat(cnffile, &st)) || (0 != access(cnffile, R_OK)) ||
200 (!S_ISREG(st.st_mode))) 200 (!S_ISREG(st.st_mode)))
201 { 201 {
202 if (configured == GNUNET_YES) 202 if (configured == GNUNET_YES)