tracker r2550 - trunk/src/tracker-extract



Author: pvanhoof
Date: Mon Nov 24 10:42:49 2008
New Revision: 2550
URL: http://svn.gnome.org/viewvc/tracker?rev=2550&view=rev

Log:
Style difference - bugfix

Modified:
   trunk/src/tracker-extract/tracker-albumart.c

Modified: trunk/src/tracker-extract/tracker-albumart.c
==============================================================================
--- trunk/src/tracker-extract/tracker-albumart.c	(original)
+++ trunk/src/tracker-extract/tracker-albumart.c	Mon Nov 24 10:42:49 2008
@@ -285,7 +285,7 @@
 	gchar **as_uri;
 	gchar **hints;
 
-	if (!filename || !local_uri)
+	if (!filename)
 		return;
 
 	as_uri = (gchar **) g_malloc0 (sizeof (gchar *) * 2);
@@ -306,6 +306,9 @@
 	g_strfreev (as_uri);
 	g_strfreev (hints);
 
+	if (!local_uri)
+		return;
+
 	flen = strlen (filename);
 
 	/* Determining if we are on a removable device */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]