gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix uninitialized 'in_shutdown'


From: gnunet
Subject: [taler-exchange] branch master updated: fix uninitialized 'in_shutdown' variable
Date: Thu, 07 Mar 2024 10:49:47 +0100

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 30f74641 fix uninitialized 'in_shutdown' variable
30f74641 is described below

commit 30f7464145726c68e3f104519b7ce11debf7fe64
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Mar 7 10:49:44 2024 +0100

    fix uninitialized 'in_shutdown' variable
---
 src/bank-lib/fakebank_tbr_get_history.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bank-lib/fakebank_tbr_get_history.c 
b/src/bank-lib/fakebank_tbr_get_history.c
index b7d447ad..e318a2af 100644
--- a/src/bank-lib/fakebank_tbr_get_history.c
+++ b/src/bank-lib/fakebank_tbr_get_history.c
@@ -148,6 +148,7 @@ TALER_FAKEBANK_tbr_get_history (
     if ( (NULL == t) ||
          overflow)
     {
+      in_shutdown = h->in_shutdown;
       /* FIXME: these conditions are unclear to me. */
       if (GNUNET_TIME_relative_is_zero (hc->ha.lp_timeout) &&
           (0 < hc->ha.delta))
@@ -166,7 +167,7 @@ TALER_FAKEBANK_tbr_get_history (
         }
         goto finish;
       }
-      if (h->in_shutdown)
+      if (in_shutdown)
       {
         acc_payto_uri = hc->acc->payto_uri;
         GNUNET_assert (0 ==

-- 
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]