[tracker/tracker-0.10] tracker-miner-rss: Fixed ASK SPARQL to check true/false not 0/1
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-miner-rss: Fixed ASK SPARQL to check true/false not 0/1
- Date: Thu, 5 May 2011 12:57:39 +0000 (UTC)
commit 0b265442909616d9cb705c49803aa298e03a39ff
Author: Martyn Russell <martyn lanedo com>
Date: Thu Apr 28 11:02:01 2011 +0100
tracker-miner-rss: Fixed ASK SPARQL to check true/false not 0/1
src/miners/rss/tracker-miner-rss.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/miners/rss/tracker-miner-rss.c b/src/miners/rss/tracker-miner-rss.c
index 6c48e61..fed8ae2 100644
--- a/src/miners/rss/tracker-miner-rss.c
+++ b/src/miners/rss/tracker-miner-rss.c
@@ -375,7 +375,7 @@ item_verify_reply_cb (GObject *source_object,
}
str = tracker_sparql_cursor_get_string (cursor, 0, NULL);
- if (g_strcmp0 (str, "1") == 0) {
+ if (str && g_ascii_strcasecmp (str, "true") == 0) {
g_object_unref (cursor);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]