summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/analysis/db/collection.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0c61082..140dc62 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
15-08-04 Cyrille Bagard <nocbos@gmail.com>
+ * src/analysis/db/collection.c:
+ Fix a bug: do not treat the timestamp as a boolean value.
+
+15-08-04 Cyrille Bagard <nocbos@gmail.com>
+
* po/fr.po:
* po/POTFILES.in:
Update the list of translated files.
diff --git a/src/analysis/db/collection.c b/src/analysis/db/collection.c
index 0292c5c..1afe96b 100644
--- a/src/analysis/db/collection.c
+++ b/src/analysis/db/collection.c
@@ -678,7 +678,7 @@ timestamp_t _g_db_collection_compute_inactivity_timestamp(GDbCollection *collec,
g_db_collection_wlock(collec);
for (iter = g_list_first(collec->items);
- iter != NULL && result;
+ iter != NULL;
iter = g_list_next(iter))
{
item = G_DB_ITEM(iter->data);