commit 5b3f346ae13001a92b61fb6d95f0f79c1fb03a29
parent 6e468534be26b7c3fc69a8161333552025919dfb
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 14 Feb 2017 13:25:44 +0100
fix return value check
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c
@@ -818,7 +818,7 @@ exchange_keys_update_cointype (void *cls,
return;
}
if ( (NULL != auditor_output_file) &&
- (sizeof (denomkey_issue.issue.properties) !=
+ (1 !=
fwrite (&denomkey_issue.issue.properties,
sizeof (struct TALER_DenominationKeyValidityPS),
1,