aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-02-11 19:55:00 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-02-11 19:55:00 +0100
commit1f007d83fd0df2f200db28e0e22a00b7ef9170bd (patch)
treeef1752758f4c65d14ce9e0c946e26e401e314535
parent398be48872a40f05f98253da8a65dfffd0117096 (diff)
4692. Fix global return code.
-rw-r--r--src/exchange-tools/taler-wire.c2
-rw-r--r--src/util/amount.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange-tools/taler-wire.c b/src/exchange-tools/taler-wire.c
index eb1f944d9..dfe40335d 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 20d064243..b3e9b54e8 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;
}