diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-11-08 00:50:16 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-11-08 00:50:16 +0100 |
commit | e42cf1a738aef2c2aee32997d157965b02e2fe0d (patch) | |
tree | 0332ba70640210f1e4119927e2e5b72005f57163 /src/lib/merchant_api_post_transfers.c | |
parent | 579938a29e1d1d4ada49ca4c1a8b0d18878974a9 (diff) |
adjust error codes in merchant
Diffstat (limited to 'src/lib/merchant_api_post_transfers.c')
-rw-r--r-- | src/lib/merchant_api_post_transfers.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/merchant_api_post_transfers.c b/src/lib/merchant_api_post_transfers.c index 5d35f6e8..14a44971 100644 --- a/src/lib/merchant_api_post_transfers.c +++ b/src/lib/merchant_api_post_transfers.c @@ -93,7 +93,7 @@ handle_post_transfers_finished (void *cls, switch (response_code) { case 0: - hr.ec = TALER_EC_INVALID_RESPONSE; + hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; break; case MHD_HTTP_OK: { @@ -120,7 +120,7 @@ handle_post_transfers_finished (void *cls, { GNUNET_break_op (0); hr.http_status = 0; - hr.ec = TALER_EC_INVALID_RESPONSE; + hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; break; } else @@ -136,7 +136,7 @@ handle_post_transfers_finished (void *cls, GNUNET_break_op (0); GNUNET_JSON_parse_free (spec); hr.http_status = 0; - hr.ec = TALER_EC_INVALID_RESPONSE; + hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; break; } deposit_sums_length = json_array_size (deposit_sums); @@ -172,7 +172,7 @@ handle_post_transfers_finished (void *cls, GNUNET_free (details); GNUNET_JSON_parse_free (spec); hr.http_status = 0; - hr.ec = TALER_EC_INVALID_RESPONSE; + hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; break; } pth->cb (pth->cb_cls, |