r15654 - gnucash/trunk/src/gnome-utils - Fix one more issue of debug-printing %s with NULL.

Andreas Köhler andi5 at cvs.gnucash.org
Sun Feb 25 06:15:35 EST 2007


Author: andi5
Date: 2007-02-25 06:15:30 -0500 (Sun, 25 Feb 2007)
New Revision: 15654
Trac: http://svn.gnucash.org/trac/changeset/15654

Modified:
   gnucash/trunk/src/gnome-utils/gnc-html.c
Log:
Fix one more issue of debug-printing %s with NULL.


Modified: gnucash/trunk/src/gnome-utils/gnc-html.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-html.c	2007-02-25 06:19:35 UTC (rev 15653)
+++ gnucash/trunk/src/gnome-utils/gnc-html.c	2007-02-25 11:15:30 UTC (rev 15654)
@@ -719,7 +719,7 @@
 {
   gnc_html * gnchtml = (gnc_html *) data;
 
-  DEBUG("Rollover %s", url);
+  DEBUG("Rollover %s", url ? url : "(null)");
   g_free(gnchtml->current_link);
   gnchtml->current_link = g_strdup(url);
   if(gnchtml->flyover_cb) {



More information about the gnucash-changes mailing list