fix #6147
This commit is contained in:
parent
340ac36199
commit
a039926bb6
@ -624,9 +624,9 @@ TALER_amount_to_string (const struct TALER_Amount *amount)
|
||||
const char *
|
||||
TALER_amount2s (const struct TALER_Amount *amount)
|
||||
{
|
||||
/* 12 is sufficient for a uint32_t value in decimal; 3 is for ":.\0" */
|
||||
/* 24 is sufficient for a uint64_t value in decimal; 3 is for ":.\0" */
|
||||
static GNUNET_THREAD_LOCAL char result[TALER_AMOUNT_FRAC_LEN
|
||||
+ TALER_CURRENCY_LEN + 3 + 12];
|
||||
+ TALER_CURRENCY_LEN + 3 + 24];
|
||||
struct TALER_Amount norm;
|
||||
|
||||
if (GNUNET_YES != TALER_amount_is_valid (amount))
|
||||
|
Loading…
Reference in New Issue
Block a user