[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: fix parse pass
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: fix parse pass |
Date: |
Sun, 28 Feb 2021 21:08:04 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new e58713a fix parse pass
e58713a is described below
commit e58713a527607fd2ae64d4b44ffc4d7054448ab7
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Feb 28 21:08:02 2021 +0100
fix parse pass
---
src/reducer/anastasis_api_backup_redux.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/reducer/anastasis_api_backup_redux.c
b/src/reducer/anastasis_api_backup_redux.c
index 8b72696..92715ae 100644
--- a/src/reducer/anastasis_api_backup_redux.c
+++ b/src/reducer/anastasis_api_backup_redux.c
@@ -1439,8 +1439,10 @@ share_secret (struct UploadContext *uc)
/* initialize policies/vpolicies arrays */
for (unsigned int i = 0; i<policies_len; i++)
{
- json_t *jtruths = json_array_get (jpolicies,
- i);
+ const json_t *policy = json_array_get (jpolicies,
+ i);
+ const json_t *jtruths = json_object_get (policy,
+ "methods");
unsigned int truths_len;
if ( (! json_is_array (jtruths)) ||
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis] branch master updated: fix parse pass,
gnunet <=