gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] 01/02: -fix minor threading issue


From: gnunet
Subject: [taler-exchange] 01/02: -fix minor threading issue
Date: Wed, 22 Nov 2023 23:34:30 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

commit a7f7875619a067c1faf5282eec1ca8b16e1d612e
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Nov 22 22:24:37 2023 +0100

    -fix minor threading issue
---
 src/bank-lib/fakebank_twg_history.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bank-lib/fakebank_twg_history.c 
b/src/bank-lib/fakebank_twg_history.c
index c75b5c88..e2c32a9e 100644
--- a/src/bank-lib/fakebank_twg_history.c
+++ b/src/bank-lib/fakebank_twg_history.c
@@ -59,6 +59,7 @@ TALER_FAKEBANK_twg_get_debit_history_ (
   struct Transaction *pos;
   enum GNUNET_GenericReturnValue ret;
   bool in_shutdown;
+  const char *acc_payto_uri;
 
   if (NULL == cc)
   {
@@ -266,6 +267,7 @@ TALER_FAKEBANK_twg_get_debit_history_ (
     return MHD_YES;
   }
   in_shutdown = h->in_shutdown;
+  acc_payto_uri = hc->acc->payto_uri;
   GNUNET_assert (0 ==
                  pthread_mutex_unlock (&h->big_lock));
 finish:
@@ -288,7 +290,7 @@ finish:
       MHD_HTTP_OK,
       GNUNET_JSON_pack_string (
         "debit_account",
-        hc->acc->payto_uri),
+        acc_payto_uri),
       GNUNET_JSON_pack_array_steal (
         "outgoing_transactions",
         h));

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]