[tracker] libtracker-extract: fix logic in guarantee title from file
- From: Tim Lunn <timl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-extract: fix logic in guarantee title from file
- Date: Mon, 29 Dec 2014 13:10:52 +0000 (UTC)
commit be82e043cb3c9f519d89ce4e45d6a0135bb6b1e2
Author: Tim Lunn <tim feathertop org>
Date: Mon Dec 29 09:56:19 2014 +1100
libtracker-extract: fix logic in guarantee title from file
https://bugzilla.gnome.org/show_bug.cgi?id=742035
src/libtracker-extract/tracker-guarantee.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-guarantee.c b/src/libtracker-extract/tracker-guarantee.c
index 99354e5..f43a4e6 100644
--- a/src/libtracker-extract/tracker-guarantee.c
+++ b/src/libtracker-extract/tracker-guarantee.c
@@ -118,7 +118,7 @@ tracker_guarantee_title_from_file (TrackerSparqlBuilder *metadata,
value = get_title_from_file (uri);
- if (!value && value[0] != '\0') {
+ if (value && value[0] != '\0') {
tracker_sparql_builder_object_unvalidated (metadata, value);
} else {
success = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]