commit 392bb7f21937b9f7dc1e5487a9857328d026cb72 Author: Christophe Fergeau <t...@gnome.org> Date: Tue Sep 21 17:33:50 2010 +0200
don't attempt to dereference NULL GError Thanks to Alan for spotting this bug. src/itdb_sqlite.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- diff --git a/src/itdb_sqlite.c b/src/itdb_sqlite.c index 0e53b01..380b5a1 100644 --- a/src/itdb_sqlite.c +++ b/src/itdb_sqlite.c @@ -1991,7 +1991,7 @@ static int copy_itdb_file(const gchar *from_dir, const gchar *to_dir, fprintf(stderr, "itdbprep: copying '%s'\n", fname); res++; } - if (error) { + if (error && *error) { fprintf(stderr, "Error copying '%s' to '%s': %s\n", srcname, dstname, (*error)->message); } ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2