diff options
author | Florian Dold <florian@dold.me> | 2022-04-13 23:28:47 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-04-13 23:28:51 +0200 |
commit | 405abf074021f448f1b0d12758a6711b8b7a14bc (patch) | |
tree | e04981abf9d367a7b15c34c3d3ea41050f1259e3 | |
parent | bfcfcab62079974fa65d5af30ca6d8cbdcaeb78b (diff) | |
download | anastasis-405abf074021f448f1b0d12758a6711b8b7a14bc.tar.gz anastasis-405abf074021f448f1b0d12758a6711b8b7a14bc.tar.bz2 anastasis-405abf074021f448f1b0d12758a6711b8b7a14bc.zip |
remove redundant http_status fields from challenge feedback
-rw-r--r-- | src/reducer/anastasis_api_recovery_redux.c | 16 |
1 files 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, |