mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 798923 - OFX import is no longer matching security nor asking...
for stock account. Gotta deref the iterator in the loop, not the list head.
This commit is contained in:
parent
de8d5ce942
commit
369b0855ff
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user