summaryrefslogtreecommitdiff
path: root/src/exchangedb/irbt_callbacks.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-28 22:46:24 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-28 22:46:24 +0100
commita8d9e7e0a61cd9f23371d09bec244a6e11683efc (patch)
tree7204f1e86246edd49302f4e74baca773df4157b1 /src/exchangedb/irbt_callbacks.c
parent3d4e580699107fcd8d5df0fa02c097de5d168694 (diff)
downloadexchange-a8d9e7e0a61cd9f23371d09bec244a6e11683efc.tar.gz
exchange-a8d9e7e0a61cd9f23371d09bec244a6e11683efc.tar.bz2
exchange-a8d9e7e0a61cd9f23371d09bec244a6e11683efc.zip
-more bool cleanup
Diffstat (limited to 'src/exchangedb/irbt_callbacks.c')
-rw-r--r--src/exchangedb/irbt_callbacks.c4
1 files changed, 3 insertions, 1 deletions
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
};