[evolution-data-server] Bug #669545 - Crash invoking filters in IMAP folder
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #669545 - Crash invoking filters in IMAP folder
- Date: Tue, 7 Feb 2012 10:05:05 +0000 (UTC)
commit ba5ccd799c7cb34c6044ccf1d5bf88b12e1f303f
Author: Milan Crha <mcrha redhat com>
Date: Tue Feb 7 11:04:14 2012 +0100
Bug #669545 - Crash invoking filters in IMAP folder
camel/camel-filter-driver.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-filter-driver.c b/camel/camel-filter-driver.c
index f0bd9a8..45b2541 100644
--- a/camel/camel-filter-driver.c
+++ b/camel/camel-filter-driver.c
@@ -1515,8 +1515,9 @@ camel_filter_driver_filter_folder (CamelFilterDriver *driver,
CAMEL_MESSAGE_DELETED |
CAMEL_MESSAGE_SEEN, ~0);
- camel_uid_cache_save_uid (cache, uids->pdata[i]);
- if (cache && i%10 == 0)
+ if (cache)
+ camel_uid_cache_save_uid (cache, uids->pdata[i]);
+ if (cache && (i % 10) == 0)
camel_uid_cache_save (cache);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]