aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/ChangeLog2
-rw-r--r--filter/filter-driver.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 05059b3e2f..55b4c0b7e1 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -2,6 +2,8 @@
* 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.
2000-11-01 Jeffrey Stedfast <fejj@helixcode.com>
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index 7ab62a4d7c..4b44bdd248 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -755,7 +755,7 @@ 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, fsearch->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);