summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-08-04 20:08:48 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-08-04 20:08:48 (GMT)
commit2fffb16721118341bf47ebe0eb5b35326460c273 (patch)
tree76a2ee01eddc06dd53b74a627aa7a92f876e7a28 /src
parentfb43def0a6a42b72982002ac8a6cc1726aaae613 (diff)
Fixed a bug: do not treat the timestamp as a boolean value.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@565 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src')
-rw-r--r--src/analysis/db/collection.c2
1 files changed, 1 insertions, 1 deletions
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);