[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: use 409 instead of
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: use 409 instead of 503 in lib (and test) |
Date: |
Fri, 19 Jan 2018 03:03:10 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 2a87fd9 use 409 instead of 503 in lib (and test)
2a87fd9 is described below
commit 2a87fd92078b006a3707c2217a2898f86da95e0b
Author: Florian Dold <address@hidden>
AuthorDate: Fri Jan 19 03:03:03 2018 +0100
use 409 instead of 503 in lib (and test)
---
src/lib/merchant_api_tip_pickup.c | 2 +-
src/lib/test_merchant_api.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/merchant_api_tip_pickup.c
b/src/lib/merchant_api_tip_pickup.c
index 5bcae49..4e1df08 100644
--- a/src/lib/merchant_api_tip_pickup.c
+++ b/src/lib/merchant_api_tip_pickup.c
@@ -176,7 +176,7 @@ handle_tip_pickup_finished (void *cls,
/* Server had an internal issue; we should retry, but this API
leaves this to the application */
break;
- case MHD_HTTP_SERVICE_UNAVAILABLE:
+ case MHD_HTTP_CONFLICT:
/* legal, can happen if we pickup a tip twice... */
break;
case MHD_HTTP_NOT_FOUND:
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index 5bc6814..26c0828 100644
--- a/src/lib/test_merchant_api.c
+++ b/src/lib/test_merchant_api.c
@@ -4359,7 +4359,7 @@ run (void *cls)
.details.tip_authorize.expected_ec =
TALER_EC_TIP_AUTHORIZE_INSTANCE_DOES_NOT_TIP },
{ .oc = OC_TIP_PICKUP,
.label = "pickup-tip-3-too-much",
- .expected_response_code = MHD_HTTP_SERVICE_UNAVAILABLE,
+ .expected_response_code = MHD_HTTP_CONFLICT,
.details.tip_pickup.expected_ec = TALER_EC_TIP_PICKUP_NO_FUNDS,
.details.tip_pickup.authorize_ref = "authorize-tip-1",
.details.tip_pickup.amounts = pickup_amounts_1 },
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: use 409 instead of 503 in lib (and test),
gnunet <=