commit 405abf074021f448f1b0d12758a6711b8b7a14bc
parent bfcfcab62079974fa65d5af30ca6d8cbdcaeb78b
Author: Florian Dold <florian@dold.me>
Date: Wed, 13 Apr 2022 23:28:47 +0200
remove redundant http_status fields from challenge feedback
Diffstat:
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
@@ -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,