gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -fix response code being reporte


From: gnunet
Subject: [taler-exchange] branch master updated: -fix response code being reported incorrectly
Date: Mon, 19 Dec 2022 14:51:15 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new d5c088b1 -fix response code being reported incorrectly
d5c088b1 is described below

commit d5c088b17c6e35ac5814bf2fbb0dec3262304b7c
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Dec 19 14:51:10 2022 +0100

    -fix response code being reported incorrectly
---
 src/bank-lib/bank_api_credit.c | 2 +-
 src/bank-lib/bank_api_debit.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bank-lib/bank_api_credit.c b/src/bank-lib/bank_api_credit.c
index cc5e6687..9835a8c9 100644
--- a/src/bank-lib/bank_api_credit.c
+++ b/src/bank-lib/bank_api_credit.c
@@ -155,7 +155,7 @@ handle_credit_history_finished (void *cls,
 {
   struct TALER_BANK_CreditHistoryHandle *hh = cls;
   struct TALER_BANK_CreditHistoryResponse chr = {
-    .http_status = MHD_HTTP_OK,
+    .http_status = response_code,
     .response = response
   };
 
diff --git a/src/bank-lib/bank_api_debit.c b/src/bank-lib/bank_api_debit.c
index 87244320..bd9b1194 100644
--- a/src/bank-lib/bank_api_debit.c
+++ b/src/bank-lib/bank_api_debit.c
@@ -157,7 +157,7 @@ handle_debit_history_finished (void *cls,
 {
   struct TALER_BANK_DebitHistoryHandle *hh = cls;
   struct TALER_BANK_DebitHistoryResponse dhr = {
-    .http_status = MHD_HTTP_OK,
+    .http_status = response_code,
     .response = response
   };
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]