-fix response code being reported incorrectly

This commit is contained in:
Christian Grothoff 2022-12-19 14:51:10 +01:00
parent 4513cde0df
commit d5c088b17c
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 2 additions and 2 deletions

View File

@ -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
};

View File

@ -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
};