Skip to content

Commit

Permalink
Bug 798923 - OFX import is no longer matching security nor asking...
Browse files Browse the repository at this point in the history
for stock account.

Gotta deref the iterator in the loop, not the list head.
  • Loading branch information
jralls committed May 22, 2023
1 parent de8d5ce commit 369b085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnucash/import-export/import-commodity-matcher.c
Expand Up @@ -73,7 +73,7 @@ gnc_commodity * gnc_import_select_commodity(const char * cusip,
GList *comm_list = gnc_commodity_table_get_commodities (commodity_table, ns);
for (GList *m = comm_list; !retval && m; m = g_list_next (m))
{
gnc_commodity *com = comm_list->data;
gnc_commodity *com = m->data;
DEBUG("Looking at commodity %s", gnc_commodity_get_fullname (com));
if (!g_strcmp0 (gnc_commodity_get_cusip (com), cusip))
{
Expand Down

0 comments on commit 369b085

Please sign in to comment.