gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix: NULL not allowed for descri


From: gnunet
Subject: [taler-exchange] branch master updated: fix: NULL not allowed for description_i18n
Date: Mon, 19 Aug 2024 19:23:38 +0200

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

sebasjm pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 10afdd0d1 fix: NULL not allowed for description_i18n
10afdd0d1 is described below

commit 10afdd0d1e425c344416ef0dac8119693afa77c8
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Aug 19 14:23:04 2024 -0300

    fix: NULL not allowed for description_i18n
---
 src/kyclogic/kyclogic_api.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c
index d34974006..9299e20d9 100644
--- a/src/kyclogic/kyclogic_api.c
+++ b/src/kyclogic/kyclogic_api.c
@@ -2876,8 +2876,9 @@ TALER_KYCLOGIC_measure_to_requirement (
                                xids),
       GNUNET_JSON_pack_string ("description",
                                kc->description),
-      GNUNET_JSON_pack_object_incref ("description_i18n",
-                                      (json_t *) kc->description_i18n));
+      GNUNET_JSON_pack_allow_null (
+        GNUNET_JSON_pack_object_incref ("description_i18n",
+                                        (json_t *) kc->description_i18n)));
     GNUNET_free (xids);
     return kri;
   case TALER_KYCLOGIC_CT_LINK:

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