aboutsummaryrefslogtreecommitdiff
path: root/src/backend/anastasis-httpd_truth-challenge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/anastasis-httpd_truth-challenge.c')
-rw-r--r--src/backend/anastasis-httpd_truth-challenge.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/backend/anastasis-httpd_truth-challenge.c b/src/backend/anastasis-httpd_truth-challenge.c
index b03c883..98ae524 100644
--- a/src/backend/anastasis-httpd_truth-challenge.c
+++ b/src/backend/anastasis-httpd_truth-challenge.c
@@ -1295,10 +1295,11 @@ AH_handler_truth_challenge (
1295 { 1295 {
1296 /* Too early for a retransmission! */ 1296 /* Too early for a retransmission! */
1297 GNUNET_free (decrypted_truth); 1297 GNUNET_free (decrypted_truth);
1298 return TALER_MHD_reply_with_error (gc->connection, 1298 return TALER_MHD_REPLY_JSON_PACK (
1299 MHD_HTTP_ALREADY_REPORTED, 1299 gc->connection,
1300 TALER_EC_ANASTASIS_TRUTH_CHALLENGE_ACTIVE, 1300 MHD_HTTP_OK,
1301 NULL); 1301 GNUNET_JSON_pack_string ("challenge_type",
1302 "TAN_ALREADY_SENT"));
1302 } 1303 }
1303 } 1304 }
1304 1305