summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_common.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_common.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_common.c')
-rw-r--r--src/lib/merchant_api_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/merchant_api_common.c b/src/lib/merchant_api_common.c
index a06a6722..c2fbaa39 100644
--- a/src/lib/merchant_api_common.c
+++ b/src/lib/merchant_api_common.c
@@ -42,7 +42,7 @@ TALER_MERCHANT_parse_error_details_ (const json_t *response,
hr->http_status = http_status;
if (NULL == response)
{
- hr->ec = TALER_EC_INVALID_RESPONSE;
+ hr->ec = TALER_EC_GENERIC_INVALID_RESPONSE;
return;
}
hr->ec = TALER_JSON_get_error_code (response);