diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-21 20:19:27 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-21 20:19:27 +0100 |
commit | 8a97e3709cec63d277387099983f181e632b6839 (patch) | |
tree | a7423ee8aa7b9831dc8763684a1f1369ee9512d8 /src/backend/taler-merchant-httpd_private-post-templates.c | |
parent | 80b826aca4431570da885debd78cb75de81512db (diff) | |
download | merchant-8a97e3709cec63d277387099983f181e632b6839.tar.gz merchant-8a97e3709cec63d277387099983f181e632b6839.tar.bz2 merchant-8a97e3709cec63d277387099983f181e632b6839.zip |
fix optional
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-templates.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-templates.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-templates.c b/src/backend/taler-merchant-httpd_private-post-templates.c index 96bc0a7a..276e225f 100644 --- a/src/backend/taler-merchant-httpd_private-post-templates.c +++ b/src/backend/taler-merchant-httpd_private-post-templates.c @@ -75,7 +75,8 @@ TMH_private_post_templates (const struct TMH_RequestHandler *rh, (const char **) &tp.template_description), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_uint32 ("pos_algorithm", - &pos_algorithm)), + &pos_algorithm), + NULL), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_string ("pos_key", (const char **) &tp.pos_key), |