From 4513cde0df916550c5c6f40d272eb370778f18f3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 19 Dec 2022 14:49:49 +0100 Subject: [PATCH] -be more strict about 200 vs. 204 --- src/bank-lib/bank_api_credit.c | 5 +++-- src/bank-lib/bank_api_debit.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bank-lib/bank_api_credit.c b/src/bank-lib/bank_api_credit.c index 127ae057d..cc5e66879 100644 --- a/src/bank-lib/bank_api_credit.c +++ b/src/bank-lib/bank_api_credit.c @@ -97,9 +97,10 @@ parse_account_history (struct TALER_BANK_CreditHistoryHandle *hh, } { size_t len = json_array_size (history_array); - struct TALER_BANK_CreditDetails cd[len]; + struct TALER_BANK_CreditDetails cd[GNUNET_NZL (len)]; - for (unsigned int i = 0; i