diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-04-20 19:03:41 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-04-20 19:03:41 +0200 |
commit | 22d8a6445a1807e9a9e032d85c0503ed08e70bf7 (patch) | |
tree | e9f9d6020e1f294c7fcbb31340d425f1158bf04e /src/reclaim/pabc_helper.c | |
parent | 5faab5da8337e5060002cba8cf5c4c1d8bc89a1e (diff) | |
download | gnunet-22d8a6445a1807e9a9e032d85c0503ed08e70bf7.tar.gz gnunet-22d8a6445a1807e9a9e032d85c0503ed08e70bf7.zip |
- towards pabc fixing
Diffstat (limited to 'src/reclaim/pabc_helper.c')
-rw-r--r-- | src/reclaim/pabc_helper.c | 3 |
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; |