[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, also info and link |
Date: |
Tue, 20 Aug 2024 16:57:39 +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 e971f3f68 fix: NULL not allowed for description_i18n, also info and
link
e971f3f68 is described below
commit e971f3f680adece7643a214cae91891f838f086c
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Aug 20 11:55:34 2024 -0300
fix: NULL not allowed for description_i18n, also info and link
---
src/kyclogic/kyclogic_api.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c
index 9299e20d9..bc01c223a 100644
--- a/src/kyclogic/kyclogic_api.c
+++ b/src/kyclogic/kyclogic_api.c
@@ -2857,8 +2857,9 @@ TALER_KYCLOGIC_measure_to_requirement (
"INFO"),
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)));
case TALER_KYCLOGIC_CT_FORM:
GNUNET_assert (offset <= UINT_MAX);
ids = GNUNET_STRINGS_data_to_string_alloc (&shv,
@@ -2898,8 +2899,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;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: fix: NULL not allowed for description_i18n, also info and link,
gnunet <=