commit 5b14fd547e0f1497d62cdc92c27af9ddf19b6105
parent cd45ba408a791c7a95ad2d28eca222522d326268
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 15 Jul 2023 19:58:55 +0200
fix crash with -a option
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
@@ -296,7 +296,7 @@ add_account_cb (void *cls,
if (! in_ai->credit_enabled)
return; /* not enabled for us, skip */
if ( (NULL != account_section) &&
- (0 != strcasecmp (ai->section_name,
+ (0 != strcasecmp (in_ai->section_name,
account_section)) )
return; /* not enabled for us, skip */
if (NULL != ai)