From 3b06e302e3efc4d96a18c55c59ef6a812f13c788 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 2 Nov 2000 07:16:47 +0000 Subject: Fix for when 'desc' is NULL. (filter_driver_filter_message): Use a more 2000-11-02 Jeffrey Stedfast * 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=6347 --- filter/ChangeLog | 2 ++ filter/filter-driver.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 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); -- cgit v1.2.3