summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-05 17:15:58 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-05 17:15:58 +0200
commit58f1ae25c69e0e378af2c45b929c8bbf7d5c1b2a (patch)
treeef9625d7929245f48d0142a658a702ca758399bd /src/backenddb/plugin_merchantdb_postgres.c
parent69131a3253264dd8e7b595f4dd985c5ad8a8e2de (diff)
downloadmerchant-58f1ae25c69e0e378af2c45b929c8bbf7d5c1b2a.tar.gz
merchant-58f1ae25c69e0e378af2c45b929c8bbf7d5c1b2a.tar.bz2
merchant-58f1ae25c69e0e378af2c45b929c8bbf7d5c1b2a.zip
adapt to latest GNUnet API: GNUNET_JSON_spec_mark_optional() changed
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index d45e2fbb..8a86c2a0 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -2151,7 +2151,8 @@ postgres_update_contract_terms (void *cls,
&refund_deadline),
GNUNET_JSON_spec_mark_optional (
GNUNET_JSON_spec_string ("fulfillment_url",
- &fulfillment_url)),
+ &fulfillment_url),
+ NULL),
GNUNET_JSON_spec_end ()
};
enum GNUNET_GenericReturnValue res;