exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

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

fix uninitialized 'in_shutdown' variable

Diffstat:
Msrc/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 @@ -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 ==