[evolution-data-server] Bug 742117 - Loops on "Learning new spam message in INBOX"
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 742117 - Loops on "Learning new spam message in INBOX"
- Date: Thu, 25 Aug 2016 14:36:22 +0000 (UTC)
commit 15da9383b6124ffe7dc9c739bf79ba47e5e0cc82
Author: Milan Crha <mcrha redhat com>
Date: Thu Aug 25 16:35:13 2016 +0200
Bug 742117 - Loops on "Learning new spam message in INBOX"
camel/camel-folder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index a314393..c9a3a71 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -1119,7 +1119,7 @@ folder_changed (CamelFolder *folder,
for (i = 0; i < info->uid_changed->len; i++) {
flags = camel_folder_summary_get_info_flags (folder->summary,
info->uid_changed->pdata[i]);
- if (flags & CAMEL_MESSAGE_JUNK_LEARN) {
+ if (flags != (~0) && (flags & CAMEL_MESSAGE_JUNK_LEARN) != 0) {
if (flags & CAMEL_MESSAGE_JUNK) {
if (!junk)
junk = g_ptr_array_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]