commit 10f76004eca8b6dc7db118022759e722e121b4ee
parent 607aef26a3cb440af7783745bb6c50acfc56aaed
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Thu, 29 Jan 2026 16:05:35 +0900
fix typos
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -70,12 +70,12 @@
/**
* Maximum number of tokens that we allow as inputs per transaction
*/
-#define MAX_TOKEN_ALLOWED_INPUTs 64
+#define MAX_TOKEN_ALLOWED_INPUTS 64
/**
* Maximum number of tokens that we allow as outputs per transaction
*/
-#define MAX_TOKEN_ALLOWED_OUTPUTs 64
+#define MAX_TOKEN_ALLOWED_OUTPUTS 64
/**
* How often do we ask the exchange again about our
@@ -4584,7 +4584,7 @@ phase_parse_wallet_data (struct PayContext *pc)
pc->parse_wallet_data.token_envelopes_cnt
= json_array_size (tokens_evs);
if (pc->parse_wallet_data.token_envelopes_cnt >
- MAX_TOKEN_ALLOWED_OUTPUTs)
+ MAX_TOKEN_ALLOWED_OUTPUTS)
{
GNUNET_break_op (0);
pay_end (pc,
@@ -5022,7 +5022,7 @@ phase_parse_pay (struct PayContext *pc)
}
pc->parse_pay.tokens_cnt = json_array_size (tokens);
- if (pc->parse_pay.tokens_cnt > MAX_TOKEN_ALLOWED_INPUTs)
+ if (pc->parse_pay.tokens_cnt > MAX_TOKEN_ALLOWED_INPUTS)
{
GNUNET_break_op (0);
pay_end (pc,
@@ -5037,7 +5037,7 @@ phase_parse_pay (struct PayContext *pc)
pc->parse_pay.tokens = GNUNET_new_array (pc->parse_pay.tokens_cnt,
struct TokenUseConfirmation);
- /* This look populates the array 'tokens' in 'pc' */
+ /* This loop populates the array 'tokens' in 'pc' */
{
unsigned int tokens_index;
json_t *token;