gnunet-svn
[Top][All Lists]
Advanced

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

[taler-challenger] branch master updated: -allow NULL


From: gnunet
Subject: [taler-challenger] branch master updated: -allow NULL
Date: Wed, 06 Mar 2024 17:20:52 +0100

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

grothoff pushed a commit to branch master
in repository challenger.

The following commit(s) were added to refs/heads/master by this push:
     new 9767a86  -allow NULL
9767a86 is described below

commit 9767a86c98bd83e209b688919854a874e39534ca
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Mar 6 17:20:41 2024 +0100

    -allow NULL
---
 src/challenger/challenger-httpd_authorize.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/challenger/challenger-httpd_authorize.c 
b/src/challenger/challenger-httpd_authorize.c
index 1b172f0..1ebe518 100644
--- a/src/challenger/challenger-httpd_authorize.c
+++ b/src/challenger/challenger-httpd_authorize.c
@@ -207,8 +207,9 @@ CH_handler_authorize (struct CH_HandlerContext *hc,
                        "enter-%s-form",
                        CH_address_type);
       args = GNUNET_JSON_PACK (
-        GNUNET_JSON_pack_object_incref ("restrictions",
-                                        CH_restrictions),
+        GNUNET_JSON_pack_allow_null (
+          GNUNET_JSON_pack_object_incref ("restrictions",
+                                          CH_restrictions)),
         GNUNET_JSON_pack_bool ("fix_address",
                                0 == address_attempts_left),
         GNUNET_JSON_pack_string ("nonce",

-- 
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]