[tracker/rss-enclosures] libtracker-miner: Fix queue looping in processing pool
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] libtracker-miner: Fix queue looping in processing pool
- Date: Wed, 24 Nov 2010 02:06:38 +0000 (UTC)
commit b53005e19b75dd08928fbea3044b0775d8eaa76b
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]