aboutsummaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
Diffstat (limited to 'filter')
-rw-r--r--filter/filter-driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index 4b44bdd248..f32699559a 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -755,16 +755,16 @@ filter_driver_filter_message (FilterDriver *driver, CamelMimeMessage *message, C
filter_filter_build_action (rule, faction);
d(fprintf (stderr, "applying rule %s\n action %s\n", fsearch->str, faction->str));
- filter_driver_log (driver, FILTER_LOG_START, FILTER_RULE (rule)->name);
mail_tool_camel_lock_up ();
matched = filter_message_search (p->message, p->info, source_url, fsearch->str, p->ex);
mail_tool_camel_lock_down ();
if (matched) {
+ filter_driver_log (driver, FILTER_LOG_START, FILTER_RULE (rule)->name);
#ifndef NO_WARNINGS
#warning "Must check expression parsed and executed properly?"
-#endif
+#endif
/* perform necessary filtering actions */
e_sexp_input_text (p->eval, faction->str, strlen (faction->str));
e_sexp_parse (p->eval);