tracker r3063 - in trunk: . src/tracker-indexer
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r3063 - in trunk: . src/tracker-indexer
- Date: Thu, 12 Mar 2009 16:50:21 +0000 (UTC)
Author: carlosg
Date: Thu Mar 12 16:50:21 2009
New Revision: 3063
URL: http://svn.gnome.org/viewvc/tracker?rev=3063&view=rev
Log:
2009-03-12 Carlos Garnacho <carlos imendio com>
* src/tracker-indexer/tracker-module-metadata.c
(tracker_module_metadata_add_take_string): Be more permissive about
NULL metadata values.
Modified:
trunk/ChangeLog
trunk/src/tracker-indexer/tracker-module-metadata.c
Modified: trunk/src/tracker-indexer/tracker-module-metadata.c
==============================================================================
--- trunk/src/tracker-indexer/tracker-module-metadata.c (original)
+++ trunk/src/tracker-indexer/tracker-module-metadata.c Thu Mar 12 16:50:21 2009
@@ -172,7 +172,10 @@
g_return_val_if_fail (metadata != NULL, FALSE);
g_return_val_if_fail (field_name != NULL, FALSE);
- g_return_val_if_fail (value != NULL, FALSE);
+
+ if (!value) {
+ return FALSE;
+ }
field = tracker_ontology_get_field_by_name (field_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]