commit 692206bdce82ab7d597635e29916a0d6fb38e92b
parent 08f5ac735b83e8d947adea0d583512a0b46b61ab
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 27 Nov 2025 15:51:16 +0100
another NULL allowed
Diffstat:
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/backenddb/pg_lookup_expected_transfers.c b/src/backenddb/pg_lookup_expected_transfers.c
@@ -76,7 +76,8 @@ lookup_expected_transfers_cb (void *cls,
struct TALER_FullPayto payto_uri;
char *exchange_url;
uint64_t expected_transfer_serial_id;
- struct GNUNET_TIME_Timestamp execution_time;
+ struct GNUNET_TIME_Timestamp execution_time
+ = GNUNET_TIME_UNIT_ZERO_TS;
bool confirmed;
bool validated;
bool no_amount;
@@ -96,8 +97,10 @@ lookup_expected_transfers_cb (void *cls,
&exchange_url),
GNUNET_PQ_result_spec_uint64 ("expected_credit_serial",
&expected_transfer_serial_id),
- GNUNET_PQ_result_spec_timestamp ("execution_time",
- &execution_time),
+ GNUNET_PQ_result_spec_allow_null (
+ GNUNET_PQ_result_spec_timestamp ("execution_time",
+ &execution_time),
+ NULL),
GNUNET_PQ_result_spec_bool ("confirmed",
&confirmed),
GNUNET_PQ_result_spec_allow_null (