summaryrefslogtreecommitdiff
path: root/src/exchange-tools
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-14 13:25:44 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-14 13:25:44 +0100
commit5b3f346ae13001a92b61fb6d95f0f79c1fb03a29 (patch)
tree6992118957ff0ed2e23e4e05264882a76aa17c0b /src/exchange-tools
parent6e468534be26b7c3fc69a8161333552025919dfb (diff)
downloadexchange-5b3f346ae13001a92b61fb6d95f0f79c1fb03a29.tar.gz
exchange-5b3f346ae13001a92b61fb6d95f0f79c1fb03a29.tar.bz2
exchange-5b3f346ae13001a92b61fb6d95f0f79c1fb03a29.zip
fix return value check
Diffstat (limited to 'src/exchange-tools')
-rw-r--r--src/exchange-tools/taler-exchange-keyup.c2
1 files changed, 1 insertions, 1 deletions
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,