summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-17 20:05:40 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-17 20:05:40 +0100
commit919861aea831ebba8fc039a8a529a10d841aa148 (patch)
tree1ebae829eecd60fdaf52fd5b043bb873904433aa /src
parent730a9b966f8c6214fa244927f77ad751da8cc9cf (diff)
downloadexchange-919861aea831ebba8fc039a8a529a10d841aa148.tar.gz
exchange-919861aea831ebba8fc039a8a529a10d841aa148.tar.bz2
exchange-919861aea831ebba8fc039a8a529a10d841aa148.zip
use flags in correct place
Diffstat (limited to 'src')
-rw-r--r--src/exchangedb/exchangedb_denomkeys.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/exchangedb/exchangedb_denomkeys.c b/src/exchangedb/exchangedb_denomkeys.c
index 58d9519c..0edf811d 100644
--- a/src/exchangedb/exchangedb_denomkeys.c
+++ b/src/exchangedb/exchangedb_denomkeys.c
@@ -207,9 +207,10 @@ TALER_EXCHANGEDB_denomination_key_write (const char *filename,
if (NULL == (fh = GNUNET_DISK_file_open
(filename,
GNUNET_DISK_OPEN_WRITE | GNUNET_DISK_OPEN_CREATE
- | GNUNET_DISK_OPEN_TRUNCATE,
- GNUNET_DISK_PERM_USER_READ | GNUNET_DISK_PERM_USER_WRITE
- | GNUNET_DISK_OPEN_FAILIFEXISTS)))
+ | GNUNET_DISK_OPEN_TRUNCATE
+ | GNUNET_DISK_OPEN_FAILIFEXISTS,
+ GNUNET_DISK_PERM_USER_READ
+ | GNUNET_DISK_PERM_USER_WRITE)))
goto cleanup;
wsize = sizeof (struct TALER_EXCHANGEDB_DenominationKeyInformationP);
if (GNUNET_SYSERR == (wrote = GNUNET_DISK_file_write (fh,