4692. Fix global return code.
This commit is contained in:
parent
398be48872
commit
1f007d83fd
@ -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
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user