diff options
Diffstat (limited to 'src/exchange-tools/taler-exchange-keyup.c')
-rw-r--r-- | src/exchange-tools/taler-exchange-keyup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index 8486f02cf..40dabf14b 100644 --- a/src/exchange-tools/taler-exchange-keyup.c +++ b/src/exchange-tools/taler-exchange-keyup.c | |||
@@ -882,7 +882,7 @@ exchange_keys_update_cointype (void *cls, | |||
882 | fprintf (stderr, | 882 | fprintf (stderr, |
883 | "Failed to write denomination key information to %s: %s\n", | 883 | "Failed to write denomination key information to %s: %s\n", |
884 | auditorrequestfile, | 884 | auditorrequestfile, |
885 | STRERROR (errno)); | 885 | strerror (errno)); |
886 | *ret = GNUNET_SYSERR; | 886 | *ret = GNUNET_SYSERR; |
887 | GNUNET_CRYPTO_rsa_private_key_free ( | 887 | GNUNET_CRYPTO_rsa_private_key_free ( |
888 | denomkey_issue.denom_priv.rsa_private_key); | 888 | denomkey_issue.denom_priv.rsa_private_key); |
@@ -1321,14 +1321,14 @@ run (void *cls, | |||
1321 | } | 1321 | } |
1322 | if (NULL != auditorrequestfile) | 1322 | if (NULL != auditorrequestfile) |
1323 | { | 1323 | { |
1324 | auditor_output_file = FOPEN (auditorrequestfile, | 1324 | auditor_output_file = fopen (auditorrequestfile, |
1325 | "w"); | 1325 | "w"); |
1326 | if (NULL == auditor_output_file) | 1326 | if (NULL == auditor_output_file) |
1327 | { | 1327 | { |
1328 | fprintf (stderr, | 1328 | fprintf (stderr, |
1329 | "Failed to open `%s' for writing: %s\n", | 1329 | "Failed to open `%s' for writing: %s\n", |
1330 | auditorrequestfile, | 1330 | auditorrequestfile, |
1331 | STRERROR (errno)); | 1331 | strerror (errno)); |
1332 | global_ret = 1; | 1332 | global_ret = 1; |
1333 | return; | 1333 | return; |
1334 | } | 1334 | } |
@@ -1477,7 +1477,7 @@ main (int argc, | |||
1477 | return 1; | 1477 | return 1; |
1478 | if (NULL != auditor_output_file) | 1478 | if (NULL != auditor_output_file) |
1479 | { | 1479 | { |
1480 | FCLOSE (auditor_output_file); | 1480 | fclose (auditor_output_file); |
1481 | auditor_output_file = NULL; | 1481 | auditor_output_file = NULL; |
1482 | } | 1482 | } |
1483 | return global_ret; | 1483 | return global_ret; |