[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: fix #6146
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: fix #6146 |
Date: |
Thu, 02 Apr 2020 11:34:54 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 340ac361 fix #6146
340ac361 is described below
commit 340ac36199f3e515fae285b8f563a0d9a6618cff
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Apr 2 11:34:52 2020 +0200
fix #6146
---
src/util/amount.c | 3 ++-
src/util/util.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/util/amount.c b/src/util/amount.c
index 71714498..95b40add 100644
--- a/src/util/amount.c
+++ b/src/util/amount.c
@@ -625,7 +625,8 @@ const char *
TALER_amount2s (const struct TALER_Amount *amount)
{
/* 12 is sufficient for a uint32_t value in decimal; 3 is for ":.\0" */
- static char result[TALER_AMOUNT_FRAC_LEN + TALER_CURRENCY_LEN + 3 + 12];
+ static GNUNET_THREAD_LOCAL char result[TALER_AMOUNT_FRAC_LEN
+ + TALER_CURRENCY_LEN + 3 + 12];
struct TALER_Amount norm;
if (GNUNET_YES != TALER_amount_is_valid (amount))
diff --git a/src/util/util.c b/src/util/util.c
index 489928dd..19924b89 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -37,7 +37,7 @@ const char *
TALER_b2s (const void *buf,
size_t buf_size)
{
- static char ret[9];
+ static GNUNET_THREAD_LOCAL char ret[9];
struct GNUNET_HashCode hc;
char *tmp;
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: fix #6146,
gnunet <=