fix GNUNET_DISK_fn_write() rval check to match latest GNUnet API

This commit is contained in:
Christian Grothoff 2020-12-20 15:52:27 +01:00
parent 7877c24ef2
commit 6f69bc424a
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
4 changed files with 2 additions and 12 deletions

View File

@ -1,5 +0,0 @@
@INLINE@ test_exchange_api_keys_cherry_picking.conf
[exchange]
# Lengthen over original value (60 s)
LOOKAHEAD_SIGN = 90 s

View File

@ -1,5 +0,0 @@
@INLINE@ test_exchange_api_keys_cherry_picking_extended.conf
[exchange]
# Lengthen over firstly extended value (90 s)
LOOKAHEAD_SIGN = 3000 s

View File

@ -689,7 +689,7 @@ setup_key (struct Key *key,
keydir,
(unsigned long long) (key->anchor.abs_value_us
/ GNUNET_TIME_UNIT_SECONDS.rel_value_us));
if (sizeof (priv) !=
if (GNUNET_OK !=
GNUNET_DISK_fn_write (key->filename,
&priv,
sizeof (priv),

View File

@ -836,7 +836,7 @@ setup_key (struct DenominationKey *dk,
denom->section,
(unsigned long long) (dk->anchor.abs_value_us
/ GNUNET_TIME_UNIT_SECONDS.rel_value_us));
if (buf_size !=
if (GNUNET_OK !=
GNUNET_DISK_fn_write (dk->filename,
buf,
buf_size,