aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/pabc_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim/pabc_helper.c')
-rw-r--r--src/reclaim/pabc_helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reclaim/pabc_helper.c b/src/reclaim/pabc_helper.c
index e76977d03..c435ad5b3 100644
--- a/src/reclaim/pabc_helper.c
+++ b/src/reclaim/pabc_helper.c
@@ -29,7 +29,8 @@ write_file (char const *const filename, const char *buffer)
29 struct GNUNET_DISK_FileHandle *fh; 29 struct GNUNET_DISK_FileHandle *fh;
30 fh = GNUNET_DISK_file_open (filename, 30 fh = GNUNET_DISK_file_open (filename,
31 GNUNET_DISK_OPEN_WRITE 31 GNUNET_DISK_OPEN_WRITE
32 | GNUNET_DISK_OPEN_TRUNCATE, 32 | GNUNET_DISK_OPEN_TRUNCATE
33 | GNUNET_DISK_OPEN_CREATE,
33 GNUNET_DISK_PERM_USER_WRITE); 34 GNUNET_DISK_PERM_USER_WRITE);
34 if (fh == NULL) 35 if (fh == NULL)
35 return GNUNET_SYSERR; 36 return GNUNET_SYSERR;