diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-11-07 18:51:14 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-11-07 18:51:54 +0100 |
commit | 8d312562bf04eeb2afac53a2f24624f8e48529bd (patch) | |
tree | ff8ee7336406c4f8805ed9cee320acd105e77004 /src/lib/exchange_api_deposits_get.c | |
parent | dde5d38c4f895b53f4bd3423487573fc3e884351 (diff) | |
download | exchange-8d312562bf04eeb2afac53a2f24624f8e48529bd.tar.xz |
adjust ECs
Diffstat (limited to 'src/lib/exchange_api_deposits_get.c')
-rw-r--r-- | src/lib/exchange_api_deposits_get.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/exchange_api_deposits_get.c b/src/lib/exchange_api_deposits_get.c index 8cb9c3fff..d5b2395aa 100644 --- a/src/lib/exchange_api_deposits_get.c +++ b/src/lib/exchange_api_deposits_get.c @@ -142,7 +142,7 @@ handle_deposit_wtid_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: { @@ -163,7 +163,7 @@ handle_deposit_wtid_finished (void *cls, { GNUNET_break_op (0); hr.http_status = 0; - hr.ec = TALER_EC_DEPOSITS_INVALID_BODY_BY_EXCHANGE; + hr.ec = TALER_EC_GENERIC_REPLY_MALFORMED; break; } dwh->depconf.execution_time = GNUNET_TIME_absolute_hton ( @@ -178,7 +178,7 @@ handle_deposit_wtid_finished (void *cls, { GNUNET_break_op (0); hr.http_status = 0; - hr.ec = TALER_EC_DEPOSITS_INVALID_SIGNATURE_BY_EXCHANGE; + hr.ec = TALER_EC_EXCHANGE_DEPOSITS_GET_INVALID_SIGNATURE_BY_EXCHANGE; } else { @@ -207,7 +207,7 @@ handle_deposit_wtid_finished (void *cls, { GNUNET_break_op (0); hr.http_status = 0; - hr.ec = TALER_EC_DEPOSITS_INVALID_BODY_BY_EXCHANGE; + hr.ec = TALER_EC_GENERIC_REPLY_MALFORMED; break; } else |