commit ae67550c27dcec9093be91aab4ba33ecf19540c2
parent 236de98b1cb02b56ef3057a21b3471574ec780c9
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 12 Oct 2026 16:35:23 +0200
properly propagate failure
Diffstat:
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/src/auditor/taler-helper-auditor-reserves.c b/src/auditor/taler-helper-auditor-reserves.c
@@ -1951,14 +1951,7 @@ analyze_reserves (void *cls)
TALER_ARL_USE_PP (reserves_reserve_recoup_serial_id),
&handle_recoup_by_reserve,
&rc);
- if ( (qs < 0) ||
- (rc.qs < 0) ||
- (global_qs < 0) )
- {
- GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs);
- return qs;
- }
-
+ CHECK_DB ();
qs = TALER_EXCHANGEDB_iterate_reserve_open_above_serial_id (
TALER_ARL_edb,
TALER_ARL_USE_PP (reserves_reserve_open_serial_id),