summaryrefslogtreecommitdiff
path: root/src/namestore/plugin_namestore_flat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/plugin_namestore_flat.c')
-rw-r--r--src/namestore/plugin_namestore_flat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namestore/plugin_namestore_flat.c b/src/namestore/plugin_namestore_flat.c
index 4ddc20ff6..fb6ece5ec 100644
--- a/src/namestore/plugin_namestore_flat.c
+++ b/src/namestore/plugin_namestore_flat.c
@@ -174,7 +174,8 @@ database_setup (struct Plugin *plugin)
174 plugin->hm = GNUNET_CONTAINER_multihashmap_create (10, 174 plugin->hm = GNUNET_CONTAINER_multihashmap_create (10,
175 GNUNET_NO); 175 GNUNET_NO);
176 fh = GNUNET_DISK_file_open (afsdir, 176 fh = GNUNET_DISK_file_open (afsdir,
177 GNUNET_DISK_OPEN_CREATE, 177 GNUNET_DISK_OPEN_CREATE |
178 GNUNET_DISK_OPEN_READWRITE,
178 GNUNET_DISK_PERM_USER_WRITE | 179 GNUNET_DISK_PERM_USER_WRITE |
179 GNUNET_DISK_PERM_USER_READ); 180 GNUNET_DISK_PERM_USER_READ);
180 if (NULL == fh) 181 if (NULL == fh)