4692. Fix global return code.

This commit is contained in:
Marcello Stanisci 2019-02-11 19:55:00 +01:00
parent 398be48872
commit 1f007d83fd
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ char *plugin_name;
/** /**
* Global return code. * Global return code.
*/ */
unsigned int global_ret = 0; unsigned int global_ret = 1;
/** /**
* When a wire transfer is being performed, this value * When a wire transfer is being performed, this value

View File

@ -83,7 +83,7 @@ TALER_string_to_amount (const char *str,
((colon - str) >= TALER_CURRENCY_LEN) ) ((colon - str) >= TALER_CURRENCY_LEN) )
{ {
GNUNET_log (GNUNET_ERROR_TYPE_WARNING, GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"Invalid currency specified before colon: `%s'", "Invalid currency specified before colon: `%s'\n",
str); str);
goto fail; goto fail;
} }