From 919861aea831ebba8fc039a8a529a10d841aa148 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 17 Feb 2020 20:05:40 +0100 Subject: use flags in correct place --- src/exchangedb/exchangedb_denomkeys.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/exchangedb') 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, -- cgit v1.2.3