[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated (90eb0958e -> 0e68462e9)
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated (90eb0958e -> 0e68462e9) |
Date: |
Sun, 10 Nov 2024 14:17:15 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a change to branch master
in repository exchange.
from 90eb0958e -fix query
new 14567679e fix odd cast
new 0e68462e9 take HTTP status from EC
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/auditor/taler-helper-auditor-wire-credit.c | 2 +-
src/exchange/taler-exchange-httpd_kyc-proof.c | 3 ++-
src/exchange/taler-exchange-httpd_kyc-upload.c | 3 ++-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/auditor/taler-helper-auditor-wire-credit.c
b/src/auditor/taler-helper-auditor-wire-credit.c
index f2a3c9571..d070b055f 100644
--- a/src/auditor/taler-helper-auditor-wire-credit.c
+++ b/src/auditor/taler-helper-auditor-wire-credit.c
@@ -527,7 +527,7 @@ complain_in_not_found (void *cls,
struct TALER_AUDITORDB_ReserveInInconsistency riiDb = {
.bank_row_id = rii->rowid,
.diagnostic = "incoming wire transfer claimed by exchange not found",
- .account = (char *) wa->ai->section_name,
+ .account = { .full_payto = (const char *) wa->ai->section_name },
.amount_exchange_expected = rii->credit_details.amount,
.amount_wired = zero,
.reserve_pub = rii->credit_details.details.reserve.reserve_pub,
diff --git a/src/exchange/taler-exchange-httpd_kyc-proof.c
b/src/exchange/taler-exchange-httpd_kyc-proof.c
index 7bf0560cf..55de59825 100644
--- a/src/exchange/taler-exchange-httpd_kyc-proof.c
+++ b/src/exchange/taler-exchange-httpd_kyc-proof.c
@@ -233,7 +233,8 @@ proof_finish (
kpc->kat = NULL;
if (TALER_EC_NONE != ec)
{
- kpc->response_code = MHD_HTTP_INTERNAL_SERVER_ERROR;
+ kpc->response_code = TALER_ErrorCode_get_http_status (ec);
+ GNUNET_assert (kpc->response_code != UINT_MAX);
kpc->response = make_html_error (
kpc->rc->connection,
"kyc-proof-internal-error",
diff --git a/src/exchange/taler-exchange-httpd_kyc-upload.c
b/src/exchange/taler-exchange-httpd_kyc-upload.c
index fa62c1bcf..7bea4768f 100644
--- a/src/exchange/taler-exchange-httpd_kyc-upload.c
+++ b/src/exchange/taler-exchange-httpd_kyc-upload.c
@@ -349,7 +349,8 @@ aml_trigger_callback (
GNUNET_assert (NULL == uc->response);
if (TALER_EC_NONE != ec)
{
- uc->response_code = MHD_HTTP_INTERNAL_SERVER_ERROR;
+ uc->response_code = TALER_ErrorCode_get_http_status (ec);
+ GNUNET_assert (uc->response_code != UINT_MAX);
uc->response = TALER_MHD_make_error (
ec,
detail);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] branch master updated (90eb0958e -> 0e68462e9),
gnunet <=