[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: fix uninit variable
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: fix uninit variable |
Date: |
Fri, 23 Aug 2024 21:49:58 +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 6214ea8b5 fix uninit variable
6214ea8b5 is described below
commit 6214ea8b58d98882d68d9e07cd4be90899deeb10
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Aug 23 21:49:54 2024 +0200
fix uninit variable
---
src/auditor/taler-helper-auditor-reserves.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/auditor/taler-helper-auditor-reserves.c
b/src/auditor/taler-helper-auditor-reserves.c
index 4713a754f..6bacdb594 100644
--- a/src/auditor/taler-helper-auditor-reserves.c
+++ b/src/auditor/taler-helper-auditor-reserves.c
@@ -1485,11 +1485,11 @@ verify_reserve_balance (void *cls,
/* Reserve is expired */
struct TALER_Amount cfee;
- if ((NULL != rs->sender_account) &&
- (GNUNET_OK ==
- get_closing_fee (rs->sender_account,
- rs->a_expiration_date,
- &cfee)))
+ if ( (NULL != rs->sender_account) &&
+ (GNUNET_OK ==
+ get_closing_fee (rs->sender_account,
+ rs->a_expiration_date,
+ &cfee)) )
{
/* We got the closing fee */
if (1 == TALER_amount_cmp (&nbalance,
@@ -1497,7 +1497,9 @@ verify_reserve_balance (void *cls,
{
struct TALER_AUDITORDB_ReserveNotClosedInconsistency rnci = {
.reserve_pub = rs->reserve_pub,
- .expiration_time = rs->a_expiration_date.abs_time
+ .expiration_time = rs->a_expiration_date.abs_time,
+ .balance = nbalance
+
};
/* remaining balance (according to us) exceeds closing fee */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: fix uninit variable,
gnunet <=