AUDIT: r17832 - gnucash/trunk/src/import-export - Bug #526775: Remove printf("%s", NULL) in generic importer as called from ofx.
Andreas Köhler
andi5 at cvs.gnucash.org
Sun Jan 18 16:50:03 EST 2009
Author: andi5
Date: 2009-01-18 16:50:03 -0500 (Sun, 18 Jan 2009)
New Revision: 17832
Trac: http://svn.gnucash.org/trac/changeset/17832
Modified:
gnucash/trunk/src/import-export/import-commodity-matcher.c
Log:
Bug #526775: Remove printf("%s", NULL) in generic importer as called from ofx.
BP
Modified: gnucash/trunk/src/import-export/import-commodity-matcher.c
===================================================================
--- gnucash/trunk/src/import-export/import-commodity-matcher.c 2009-01-18 20:17:22 UTC (rev 17831)
+++ gnucash/trunk/src/import-export/import-commodity-matcher.c 2009-01-18 21:50:03 UTC (rev 17832)
@@ -62,8 +62,10 @@
char * tmp_namespace = NULL;
GList * commodity_list=NULL;
GList * namespace_list=NULL;
- DEBUG("Default fullname received: %s", default_fullname);
- DEBUG("Default mnemonic received: %s", default_mnemonic);
+ DEBUG("Default fullname received: %s",
+ default_fullname ? default_fullname : "(null)");
+ DEBUG("Default mnemonic received: %s",
+ default_mnemonic ? default_mnemonic : "(null)");
DEBUG("Looking for commodity with exchange_code: %s", cusip);
More information about the gnucash-changes
mailing list