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



commit edf693c54765bd86508f3352e85397d730282d5c
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]