[tracker/poppler-glib: 3/13] tracker-extract, pdf: Port 'Spaces aren't keyword separators'



commit 296b4922b9d9100ae9778f0b0f30494f7fe121ae
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Feb 22 10:41:06 2011 +0100

    tracker-extract,pdf: Port 'Spaces aren't keyword separators'
    
    Original commit ID: 54083f8acc85ba83e4117f1ee1984686ab3b9072

 src/tracker-extract/tracker-extract-pdf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-pdf.c b/src/tracker-extract/tracker-extract-pdf.c
index 20931df..391471a 100644
--- a/src/tracker-extract/tracker-extract-pdf.c
+++ b/src/tracker-extract/tracker-extract-pdf.c
@@ -203,9 +203,9 @@ insert_keywords (TrackerSparqlBuilder *metadata,
 		keywords[len - 1] = '\0';
 	}
 
-	for (p = strtok_r (keywords, ",; ", &saveptr);
+	for (p = strtok_r (keywords, ",;", &saveptr);
 	     p;
-	     p = strtok_r (NULL, ",; ", &saveptr)) {
+	     p = strtok_r (NULL, ",;", &saveptr)) {
 		tracker_sparql_builder_predicate (metadata, "nao:hasTag");
 
 		tracker_sparql_builder_object_blank_open (metadata);



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