aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index af375b2134..bf9bd13763 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -1723,10 +1723,9 @@ folder_changed (CamelObject *obj, gpointer event_data)
notjunk = g_ptr_array_new();
g_ptr_array_add (notjunk, g_strdup (changed->uid_changed->pdata [i]));
}
- }
-
/* reset junk learn flag so that we don't process it again */
- camel_folder_set_message_flags (folder, changed->uid_changed->pdata [i], CAMEL_MESSAGE_JUNK_LEARN, 0);
+ camel_folder_set_message_flags (folder, changed->uid_changed->pdata [i], CAMEL_MESSAGE_JUNK_LEARN, 0);
+ }
}
d(if (junk || notjunk) printf("** Have '%d' messages for junk filter to learn, launching thread to process them\n",
(junk ? junk->len : 0) + (notjunk ? notjunk->len : 0)));