[tracker] tracker-extract, pdf: Port 'Spaces aren't keyword separators'
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract, pdf: Port 'Spaces aren't keyword separators'
- Date: Wed, 2 Mar 2011 15:25:35 +0000 (UTC)
commit 32e96a55f74963487162a89ebe5e8939e41904cd
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]