gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: fix #7044


From: gnunet
Subject: [taler-anastasis] branch master updated: fix #7044
Date: Mon, 27 Dec 2021 20:32:13 +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 7d93e84  fix #7044
7d93e84 is described below

commit 7d93e843f3b1cc41bb5d336d6ab785ae8360a85f
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Dec 27 20:32:11 2021 +0100

    fix #7044
---
 src/lib/anastasis_backup.c               | 1 +
 src/reducer/anastasis_api_backup_redux.c | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/lib/anastasis_backup.c b/src/lib/anastasis_backup.c
index 711fcd4..21dd291 100644
--- a/src/lib/anastasis_backup.c
+++ b/src/lib/anastasis_backup.c
@@ -787,6 +787,7 @@ ANASTASIS_secret_share (struct GNUNET_CURL_Context *ctx,
   }
 
   esc_methods = json_array ();
+  GNUNET_assert (NULL != esc_methods);
   for (unsigned int k = 0; k < policies_len; k++)
   {
     const struct ANASTASIS_Policy *policy = policies[k];
diff --git a/src/reducer/anastasis_api_backup_redux.c 
b/src/reducer/anastasis_api_backup_redux.c
index e300081..eee1b70 100644
--- a/src/reducer/anastasis_api_backup_redux.c
+++ b/src/reducer/anastasis_api_backup_redux.c
@@ -3149,8 +3149,11 @@ secret_share_result_cb (void *cls,
       details = GNUNET_JSON_PACK (
         GNUNET_JSON_pack_uint64 ("http_status",
                                  sr->details.provider_failure.http_status),
-        GNUNET_JSON_pack_uint64 ("upload_status",
+        GNUNET_JSON_pack_uint64 ("code",
                                  sr->details.provider_failure.ec),
+        GNUNET_JSON_pack_string ("hint",
+                                 TALER_ErrorCode_get_hint (
+                                   sr->details.provider_failure.ec)),
         GNUNET_JSON_pack_string ("provider_url",
                                  sr->details.provider_failure.provider_url));
       uc->cb (uc->cb_cls,

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