[tracker/miner-rss-0.11-fixes: 5/5] 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/miner-rss-0.11-fixes: 5/5] tracker-miner-rss: Fixed ASK SPARQL to check true/false not 0/1
- Date: Thu, 28 Apr 2011 10:12:41 +0000 (UTC)
commit bdb89dfed52979e345c0bbc086d51702bd25c216
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]