[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] 01/02: remove redundant http_status fields from challe
From: |
gnunet |
Subject: |
[taler-anastasis] 01/02: remove redundant http_status fields from challenge feedback |
Date: |
Thu, 14 Apr 2022 09:52:47 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository anastasis.
commit 405abf074021f448f1b0d12758a6711b8b7a14bc
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Apr 13 23:28:47 2022 +0200
remove redundant http_status fields from challenge feedback
---
src/reducer/anastasis_api_recovery_redux.c | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/src/reducer/anastasis_api_recovery_redux.c
b/src/reducer/anastasis_api_recovery_redux.c
index b438afe..b0c15ec 100644
--- a/src/reducer/anastasis_api_recovery_redux.c
+++ b/src/reducer/anastasis_api_recovery_redux.c
@@ -553,9 +553,7 @@ start_feedback_cb (
GNUNET_JSON_pack_string ("filename",
csr->details.tan_filename),
GNUNET_JSON_pack_string ("display_hint",
- hint),
- GNUNET_JSON_pack_uint64 ("http_status",
- (json_int_t) csr->http_status));
+ hint));
GNUNET_free (hint);
GNUNET_assert (0 ==
json_object_set_new (feedback,
@@ -583,9 +581,7 @@ start_feedback_cb (
GNUNET_JSON_pack_string ("address_hint",
csr->details.tan_address_hint),
GNUNET_JSON_pack_string ("display_hint",
- hint),
- GNUNET_JSON_pack_uint64 ("http_status",
- (json_int_t) csr->http_status));
+ hint));
GNUNET_free (hint);
GNUNET_assert (0 ==
json_object_set_new (feedback,
@@ -611,9 +607,7 @@ start_feedback_cb (
GNUNET_JSON_pack_string ("state",
"send-to-address"),
GNUNET_JSON_pack_string ("display_hint",
- hint),
- GNUNET_JSON_pack_uint64 ("http_status",
- (json_int_t) csr->http_status));
+ hint));
GNUNET_free (hint);
GNUNET_assert (0 ==
json_object_set_new (feedback,
@@ -885,9 +879,7 @@ answer_feedback_cb (
GNUNET_JSON_pack_string ("state",
"incorrect-answer"),
GNUNET_JSON_pack_uint64 ("error_code",
- csr->ec),
- GNUNET_JSON_pack_uint64 ("http_status",
- csr->http_status));
+ csr->ec));
GNUNET_assert (0 ==
json_object_set_new (feedback,
uuid,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.