[tracker/miner-fs-refactor-multi-insert: 4/14] libtracker-miner: Fix queue looping in processing pool
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-fs-refactor-multi-insert: 4/14] libtracker-miner: Fix queue looping in processing pool
- Date: Thu, 21 Oct 2010 09:06:29 +0000 (UTC)
commit 1ee464444cb8dc7165aa33f95f2e9729568910d1
Author: Aleksander Morgado <aleksander lanedo com>
Date: Mon Oct 18 09:39:48 2010 +0200
libtracker-miner: Fix queue looping in processing pool
.../tracker-miner-fs-processing-pool.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs-processing-pool.c b/src/libtracker-miner/tracker-miner-fs-processing-pool.c
index 2065d4e..89a16f5 100644
--- a/src/libtracker-miner/tracker-miner-fs-processing-pool.c
+++ b/src/libtracker-miner/tracker-miner-fs-processing-pool.c
@@ -327,7 +327,7 @@ processing_pool_find_task (ProcessingPool *pool,
guint i;
for (i = PROCESSING_TASK_STATUS_WAIT;
- i < PROCESSING_TASK_STATUS_PROCESS;
+ i < PROCESSING_TASK_STATUS_LAST;
i++) {
GList *l;
@@ -635,7 +635,7 @@ processing_pool_foreach (ProcessingPool *pool,
guint i;
for (i = PROCESSING_TASK_STATUS_WAIT;
- i < PROCESSING_TASK_STATUS_PROCESS;
+ i < PROCESSING_TASK_STATUS_LAST;
i++) {
g_queue_foreach (pool->tasks[i], func, user_data);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]