diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-02-17 20:05:40 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-02-17 20:05:40 +0100 |
commit | 919861aea831ebba8fc039a8a529a10d841aa148 (patch) | |
tree | 1ebae829eecd60fdaf52fd5b043bb873904433aa | |
parent | 730a9b966f8c6214fa244927f77ad751da8cc9cf (diff) |
use flags in correct place
-rw-r--r-- | src/exchangedb/exchangedb_denomkeys.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/exchangedb/exchangedb_denomkeys.c b/src/exchangedb/exchangedb_denomkeys.c index 58d9519c6..0edf811dc 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, |