fix crash with -a option

This commit is contained in:
Christian Grothoff 2023-07-15 19:58:55 +02:00
parent cd45ba408a
commit 5b14fd547e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -296,7 +296,7 @@ add_account_cb (void *cls,
if (! in_ai->credit_enabled) if (! in_ai->credit_enabled)
return; /* not enabled for us, skip */ return; /* not enabled for us, skip */
if ( (NULL != account_section) && if ( (NULL != account_section) &&
(0 != strcasecmp (ai->section_name, (0 != strcasecmp (in_ai->section_name,
account_section)) ) account_section)) )
return; /* not enabled for us, skip */ return; /* not enabled for us, skip */
if (NULL != ai) if (NULL != ai)