From 5b3f346ae13001a92b61fb6d95f0f79c1fb03a29 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 14 Feb 2017 13:25:44 +0100 Subject: fix return value check --- src/exchange-tools/taler-exchange-keyup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index 9e2500d2a..76801738e 100644 --- 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, -- cgit v1.2.3