From 7d8783dee3d0f11aae0c43aeb96329fcbdfa3a58 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Jul 2015 13:08:57 +0200 Subject: -fix error code --- src/mint/taler-mint-httpd_responses.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mint/taler-mint-httpd_responses.c') diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c index 9cacffe1b..f36369984 100644 --- a/src/mint/taler-mint-httpd_responses.c +++ b/src/mint/taler-mint-httpd_responses.c @@ -460,7 +460,7 @@ compile_transaction_history (const struct TALER_MINTDB_TransactionList *tl) /** - * Send proof that a /withdraw request is invalid to client. This + * Send proof that a /deposit request is invalid to client. This * function will create a message with all of the operations affecting * the coin that demonstrate that the coin has insufficient value. * @@ -654,7 +654,7 @@ TMH_RESPONSE_reply_withdraw_sign_insufficient_funds (struct MHD_Connection *conn "balance calculation failure"); json_balance = TALER_json_from_amount (&balance); return TMH_RESPONSE_reply_json_pack (connection, - MHD_HTTP_FORBIDDEN, + MHD_HTTP_PAYMENT_REQUIRED, "{s:s, s:o, s:o}", "error", "Insufficient funds", "balance", json_balance, -- cgit v1.2.3