tracker r2141 - in branches/indexer-split: . src/tracker-indexer



Author: carlosg
Date: Fri Aug 22 11:24:34 2008
New Revision: 2141
URL: http://svn.gnome.org/viewvc/tracker?rev=2141&view=rev

Log:
2008-08-22  Carlos Garnacho  <carlos imendio com>

        * src/tracker-indexer/tracker-metadata-utils.c
        (tracker_metadata_read): Strip metadata separators when reading from
        the external extractor.


Modified:
   branches/indexer-split/ChangeLog
   branches/indexer-split/src/tracker-indexer/tracker-metadata-utils.c

Modified: branches/indexer-split/src/tracker-indexer/tracker-metadata-utils.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/tracker-metadata-utils.c	(original)
+++ branches/indexer-split/src/tracker-indexer/tracker-metadata-utils.c	Fri Aug 22 11:24:34 2008
@@ -94,6 +94,7 @@
 
 			if (line && *line) {
 				g_strstrip (line);
+				g_strdelimit (line, ";", '\0');
 				g_ptr_array_add (array, line);
 			}
 		} while (status == G_IO_STATUS_NORMAL && line && *line);



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