exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 17ff6e9e34020171965c91d85a60b223f690ddfb
parent 567b8708310786640caffb69847039e06dd5f37e
Author: Florian Dold <florian@dold.me>
Date:   Fri,  8 Nov 2024 16:08:11 +0100

fix return type confusion in kyc-start handler

Diffstat:
Msrc/exchange/taler-exchange-httpd_kyc-start.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_kyc-start.c b/src/exchange/taler-exchange-httpd_kyc-start.c @@ -425,9 +425,9 @@ TEH_handler_kyc_start ( &kyp->redirect_url); if (qs < 0) { - if (GNUNET_DB_STATUS_SOFT_ERROR == qs) - return qs; GNUNET_break (0); + /* Simple query, never should be a soft error. */ + GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR != qs); return TALER_MHD_reply_with_error ( rc->connection, MHD_HTTP_INTERNAL_SERVER_ERROR,