mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix a NULL-%s-printf in bayes matching, #436455.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16060 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
0cc3c94654
commit
3d4136fbac
@ -434,7 +434,9 @@ Account* gnc_imap_find_account_bayes(GncImportMatchMap *imap, GList *tokens)
|
||||
g_hash_table_destroy(running_probabilities);
|
||||
g_hash_table_destroy(final_probabilities);
|
||||
|
||||
PINFO("highest P('%s') = '%d'", account_i.account_name, account_i.probability);
|
||||
PINFO("highest P('%s') = '%d'",
|
||||
account_i.account_name ? account_i.account_name: "(null)",
|
||||
account_i.probability);
|
||||
|
||||
/* has this probability met our threshold? */
|
||||
if(account_i.probability >= threshold)
|
||||
|
Loading…
Reference in New Issue
Block a user