diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-10-18 23:05:29 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-10-18 23:05:29 +0200 |
commit | 70462f0b94d933bec7b735fecb66a75a45c91c66 (patch) | |
tree | 8f37b8b01ce130fb7cb11b192d422a4ce7793a50 /src/exchange-lib/exchange_api_reserve.c | |
parent | aa3332b74e18d27cf26864f69c6b17c4d98ff14f (diff) | |
download | exchange-70462f0b94d933bec7b735fecb66a75a45c91c66.tar.xz |
implement #4497/#4705 -- addition of unique numeric error codes -- for the server-side of the exchange
Diffstat (limited to 'src/exchange-lib/exchange_api_reserve.c')
-rw-r--r-- | src/exchange-lib/exchange_api_reserve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange-lib/exchange_api_reserve.c b/src/exchange-lib/exchange_api_reserve.c index 0bff767e6..9de2b268f 100644 --- a/src/exchange-lib/exchange_api_reserve.c +++ b/src/exchange-lib/exchange_api_reserve.c @@ -599,7 +599,7 @@ reserve_withdraw_ok (struct TALER_EXCHANGE_ReserveWithdrawHandle *wsh, /** - * We got a 402 PAYMENT REQUIRED response for the /reserve/withdraw operation. + * We got a 403 FORBIDDEN response for the /reserve/withdraw operation. * Check the signatures on the withdraw transactions in the provided * history and that the balances add up. We don't do anything directly * with the information, as the JSON will be returned to the application. @@ -723,7 +723,7 @@ handle_reserve_withdraw_finished (void *cls, /* This should never happen, either us or the exchange is buggy (or API version conflict); just pass JSON reply to the application */ break; - case MHD_HTTP_PAYMENT_REQUIRED: + case MHD_HTTP_FORBIDDEN: /* The exchange says that the reserve has insufficient funds; check the signatures in the history... */ if (GNUNET_OK != |