[tracker/tracker-0.10] libtracker-data: Fix graph check for anonymous blank nodes
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] libtracker-data: Fix graph check for anonymous blank nodes
- Date: Wed, 23 Mar 2011 11:06:19 +0000 (UTC)
commit b3dfe100ab9989b3465749024582f5c195a7d12c
Author: Jürg Billeter <j bitron ch>
Date: Mon Mar 21 13:03:15 2011 +0100
libtracker-data: Fix graph check for anonymous blank nodes
src/libtracker-data/tracker-data-update.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 3b8f645..0454b4a 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -1090,7 +1090,7 @@ tracker_data_blank_buffer_flush (GError **error)
/* generate hash uri from data to find resource
assumes no collisions due to generally little contents of anonymous nodes */
for (i = 0; i < blank_buffer.predicates->len; i++) {
- if (blank_buffer.graphs->data[i] != NULL) {
+ if (g_array_index (blank_buffer.graphs, guchar *, i) != NULL) {
g_checksum_update (checksum, g_array_index (blank_buffer.graphs, guchar *, i), -1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]