From 582acc3cf31adf4919c726aa811c9988adb92c02 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 21 Apr 2022 21:04:33 +0200 Subject: add taler-exchange-httpd_reserves_purse.c to build --- src/lib/exchange_api_kyc_check.c | 2 +- src/lib/exchange_api_kyc_wallet.c | 2 +- src/lib/exchange_api_purse_create_with_merge.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/exchange_api_kyc_check.c b/src/lib/exchange_api_kyc_check.c index 1f9f3b160..62a1db582 100644 --- a/src/lib/exchange_api_kyc_check.c +++ b/src/lib/exchange_api_kyc_check.c @@ -178,7 +178,7 @@ handle_kyc_check_finished (void *cls, /* This should never happen, either us or the exchange is buggy (or API version conflict); just pass JSON reply to the application */ break; - case MHD_HTTP_UNAUTHORIZED: + case MHD_HTTP_FORBIDDEN: ks.ec = TALER_JSON_get_error_code (j); break; case MHD_HTTP_NOT_FOUND: diff --git a/src/lib/exchange_api_kyc_wallet.c b/src/lib/exchange_api_kyc_wallet.c index 7a78ceb24..fe5e6b702 100644 --- a/src/lib/exchange_api_kyc_wallet.c +++ b/src/lib/exchange_api_kyc_wallet.c @@ -122,7 +122,7 @@ handle_kyc_wallet_finished (void *cls, /* This should never happen, either us or the exchange is buggy (or API version conflict); just pass JSON reply to the application */ break; - case MHD_HTTP_UNAUTHORIZED: + case MHD_HTTP_FORBIDDEN: ks.ec = TALER_JSON_get_error_code (j); break; case MHD_HTTP_NOT_FOUND: diff --git a/src/lib/exchange_api_purse_create_with_merge.c b/src/lib/exchange_api_purse_create_with_merge.c index e37eea2e1..03accce10 100644 --- a/src/lib/exchange_api_purse_create_with_merge.c +++ b/src/lib/exchange_api_purse_create_with_merge.c @@ -427,7 +427,7 @@ TALER_EXCHANGE_purse_create_with_merge ( void -TALER_EXCHANGE_account_create_with_merge_cancel ( +TALER_EXCHANGE_purse_create_with_merge_cancel ( struct TALER_EXCHANGE_PurseCreateMergeHandle *pcm) { if (NULL != pcm->job) -- cgit v1.2.3