mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-25 18:30:23 -06:00
#510725: Fix a crash when comparing cuspis in commodity matcher.
BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16884 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
086d225db6
commit
406f3fd879
@ -122,7 +122,7 @@ gnc_commodity * gnc_import_select_commodity(char * cusip,
|
||||
|
||||
}
|
||||
if (retval != NULL&&
|
||||
gnc_commodity_get_cusip(tmp_commodity)!=NULL &&
|
||||
gnc_commodity_get_cusip(retval)!=NULL &&
|
||||
cusip != NULL &&
|
||||
(strncmp(gnc_commodity_get_cusip(retval),cusip,strlen(cusip))!=0))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user