gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix json parsing invocation


From: gnunet
Subject: [taler-exchange] branch master updated: fix json parsing invocation
Date: Sun, 28 Mar 2021 21:52:04 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new ec0b1b51 fix json parsing invocation
ec0b1b51 is described below

commit ec0b1b512c45b2ea9476e74d996444c92387b116
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Mar 28 21:52:02 2021 +0200

    fix json parsing invocation
---
 contrib/gana    | 2 +-
 src/json/json.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index 880352a4..65b32359 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 880352a419beee4864f863182dbc695c859ee3f7
+Subproject commit 65b32359b300f5369eff62fceb5001e609c2f339
diff --git a/src/json/json.c b/src/json/json.c
index b7afec8a..2adf7118 100644
--- a/src/json/json.c
+++ b/src/json/json.c
@@ -615,8 +615,9 @@ TALER_JSON_get_error_code2 (const void *data,
   enum TALER_ErrorCode ec;
   json_error_t err;
 
-  json = json_loads (data,
+  json = json_loadb (data,
                      data_size,
+                     JSON_REJECT_DUPLICATES,
                      &err);
   if (NULL == json)
     return TALER_EC_INVALID;

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