aboutsummaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-11-03 05:14:57 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-11-03 05:14:57 +0800
commit71ccf52166cceafffa6b41ec7c739b654f6f8294 (patch)
tree00fe2edccbf2ae724fb0a79a57dce861da2a5f38 /filter
parent7b60f48dddc9b77260a508b3c4580b4b193440e1 (diff)
downloadgsoc2013-evolution-71ccf52166cceafffa6b41ec7c739b654f6f8294.tar.gz
gsoc2013-evolution-71ccf52166cceafffa6b41ec7c739b654f6f8294.tar.zst
gsoc2013-evolution-71ccf52166cceafffa6b41ec7c739b654f6f8294.zip
Fix for when 'desc' is NULL. (filter_driver_filter_message): Use a more
2000-11-02 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_log): Fix for when 'desc' is NULL. (filter_driver_filter_message): Use a more user-friendly filter name in the log file. svn path=/trunk/; revision=6359
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);