summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_post_order_refund.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-08 00:50:16 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-08 00:50:16 +0100
commite42cf1a738aef2c2aee32997d157965b02e2fe0d (patch)
tree0332ba70640210f1e4119927e2e5b72005f57163 /src/lib/merchant_api_post_order_refund.c
parent579938a29e1d1d4ada49ca4c1a8b0d18878974a9 (diff)
downloadmerchant-e42cf1a738aef2c2aee32997d157965b02e2fe0d.tar.gz
merchant-e42cf1a738aef2c2aee32997d157965b02e2fe0d.tar.bz2
merchant-e42cf1a738aef2c2aee32997d157965b02e2fe0d.zip
adjust error codes in merchant
Diffstat (limited to 'src/lib/merchant_api_post_order_refund.c')
-rw-r--r--src/lib/merchant_api_post_order_refund.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/merchant_api_post_order_refund.c b/src/lib/merchant_api_post_order_refund.c
index c40fb7a7..748fb8c1 100644
--- a/src/lib/merchant_api_post_order_refund.c
+++ b/src/lib/merchant_api_post_order_refund.c
@@ -92,7 +92,7 @@ handle_refund_finished (void *cls,
switch (response_code)
{
case 0:
- hr.ec = TALER_EC_INVALID_RESPONSE;
+ hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE;
orh->cb (orh->cb_cls,
&hr,
NULL,
@@ -117,7 +117,7 @@ handle_refund_finished (void *cls,
{
GNUNET_break_op (0);
hr.http_status = 0;
- hr.ec = TALER_EC_INVALID_RESPONSE;
+ hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE;
orh->cb (orh->cb_cls,
&hr,
NULL,