From 1f007d83fd0df2f200db28e0e22a00b7ef9170bd Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 11 Feb 2019 19:55:00 +0100 Subject: 4692. Fix global return code. --- src/exchange-tools/taler-wire.c | 2 +- src/util/amount.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/exchange-tools/taler-wire.c b/src/exchange-tools/taler-wire.c index eb1f944d..dfe40335 100644 --- a/src/exchange-tools/taler-wire.c +++ b/src/exchange-tools/taler-wire.c @@ -50,7 +50,7 @@ char *plugin_name; /** * Global return code. */ -unsigned int global_ret = 0; +unsigned int global_ret = 1; /** * When a wire transfer is being performed, this value diff --git a/src/util/amount.c b/src/util/amount.c index 20d06424..b3e9b54e 100644 --- a/src/util/amount.c +++ b/src/util/amount.c @@ -83,7 +83,7 @@ TALER_string_to_amount (const char *str, ((colon - str) >= TALER_CURRENCY_LEN) ) { GNUNET_log (GNUNET_ERROR_TYPE_WARNING, - "Invalid currency specified before colon: `%s'", + "Invalid currency specified before colon: `%s'\n", str); goto fail; } -- cgit v1.2.3