From 2f21fa24e477d80449d8ee1d82c0de5c1755786a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Tue, 27 Jun 2023 09:48:07 +0200 Subject: [PATCH] -rename variable --- src/exchange/taler-exchange-httpd_batch-withdraw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/exchange/taler-exchange-httpd_batch-withdraw.c b/src/exchange/taler-exchange-httpd_batch-withdraw.c index 7455778ad..270ee0ca9 100644 --- a/src/exchange/taler-exchange-httpd_batch-withdraw.c +++ b/src/exchange/taler-exchange-httpd_batch-withdraw.c @@ -311,7 +311,7 @@ batch_withdraw_transaction (void *cls, bool found = false; bool balance_ok = false; bool age_ok = false; - uint16_t required_age = 0; + uint16_t allowed_maximum_age = 0; char *kyc_required; struct TALER_PaytoHashP reserve_h_payto; @@ -479,7 +479,7 @@ batch_withdraw_transaction (void *cls, &found, &balance_ok, &age_ok, - &required_age, + &allowed_maximum_age, &ruuid); if (0 > qs) { @@ -508,7 +508,7 @@ batch_withdraw_transaction (void *cls, * of the required age */ uint16_t lowest_age = TALER_get_lowest_age ( &TEH_age_restriction_config.mask, - required_age); + allowed_maximum_age); TEH_plugin->rollback (TEH_plugin->cls); *mhd_ret = TEH_RESPONSE_reply_reserve_age_restriction_required (