fix GNUNET_DISK_fn_write() rval check to match latest GNUnet API
This commit is contained in:
parent
7877c24ef2
commit
6f69bc424a
@ -1,5 +0,0 @@
|
||||
@INLINE@ test_exchange_api_keys_cherry_picking.conf
|
||||
|
||||
[exchange]
|
||||
# Lengthen over original value (60 s)
|
||||
LOOKAHEAD_SIGN = 90 s
|
@ -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
|
@ -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),
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user