summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-05 13:08:57 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-05 13:08:57 +0200
commit7d8783dee3d0f11aae0c43aeb96329fcbdfa3a58 (patch)
tree293777f9973b574c5a88878b66151575f62039ce
parent9084ac48216876c8a2f9d5a1a78c4b6216676de7 (diff)
downloadexchange-7d8783dee3d0f11aae0c43aeb96329fcbdfa3a58.tar.gz
exchange-7d8783dee3d0f11aae0c43aeb96329fcbdfa3a58.tar.bz2
exchange-7d8783dee3d0f11aae0c43aeb96329fcbdfa3a58.zip
-fix error code
-rw-r--r--src/mint/taler-mint-httpd_responses.c4
1 files changed, 2 insertions, 2 deletions
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,