From 2fffb16721118341bf47ebe0eb5b35326460c273 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Tue, 4 Aug 2015 20:08:48 +0000 Subject: 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 --- ChangeLog | 5 +++++ src/analysis/db/collection.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0c61082..140dc62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 15-08-04 Cyrille Bagard + * src/analysis/db/collection.c: + Fix a bug: do not treat the timestamp as a boolean value. + +15-08-04 Cyrille Bagard + * 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); -- cgit v0.11.2-87-g4458