From a8d9e7e0a61cd9f23371d09bec244a6e11683efc Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 28 Feb 2022 22:46:24 +0100 Subject: -more bool cleanup --- src/exchangedb/irbt_callbacks.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/exchangedb/irbt_callbacks.c') diff --git a/src/exchangedb/irbt_callbacks.c b/src/exchangedb/irbt_callbacks.c index 44acaf8aa..a994c611b 100644 --- a/src/exchangedb/irbt_callbacks.c +++ b/src/exchangedb/irbt_callbacks.c @@ -524,7 +524,9 @@ irbt_cb_table_deposits (struct PostgresClosure *pg, GNUNET_PQ_query_param_bool (td->details.deposits.tiny), GNUNET_PQ_query_param_bool (td->details.deposits.done), GNUNET_PQ_query_param_bool (td->details.deposits.extension_blocked), - GNUNET_PQ_query_param_uint64 ( + 0 == td->details.deposits.extension_details_serial_id + ? GNUNET_PQ_query_param_null () + : GNUNET_PQ_query_param_uint64 ( &td->details.deposits.extension_details_serial_id), GNUNET_PQ_query_param_end }; -- cgit v1.2.3