gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: fix optional


From: gnunet
Subject: [taler-merchant] branch master updated: fix optional
Date: Tue, 21 Feb 2023 20:19:30 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 8a97e370 fix optional
8a97e370 is described below

commit 8a97e3709cec63d277387099983f181e632b6839
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Feb 21 20:19:27 2023 +0100

    fix optional
---
 contrib/wallet-core                                           | 2 +-
 src/backend/taler-merchant-httpd_private-patch-templates-ID.c | 3 ++-
 src/backend/taler-merchant-httpd_private-post-templates.c     | 3 ++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/contrib/wallet-core b/contrib/wallet-core
index abc01ba2..13119702 160000
--- a/contrib/wallet-core
+++ b/contrib/wallet-core
@@ -1 +1 @@
-Subproject commit abc01ba21f670960df8a79047d536f16c263183b
+Subproject commit 13119702d90733174fc69a75de46bda6401d083d
diff --git a/src/backend/taler-merchant-httpd_private-patch-templates-ID.c 
b/src/backend/taler-merchant-httpd_private-patch-templates-ID.c
index 50bd8928..b5938368 100644
--- a/src/backend/taler-merchant-httpd_private-patch-templates-ID.c
+++ b/src/backend/taler-merchant-httpd_private-patch-templates-ID.c
@@ -115,7 +115,8 @@ TMH_private_patch_templates_ID (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),
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),

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]