aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-11-02 15:16:47 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-11-02 15:16:47 +0800
commit3b06e302e3efc4d96a18c55c59ef6a812f13c788 (patch)
tree88011cea4315c62a1ad09259bf846bad9bad89f7
parente7fa8245ccf248c858c304795138b4efd73e103e (diff)
downloadgsoc2013-evolution-3b06e302e3efc4d96a18c55c59ef6a812f13c788.tar
gsoc2013-evolution-3b06e302e3efc4d96a18c55c59ef6a812f13c788.tar.gz
gsoc2013-evolution-3b06e302e3efc4d96a18c55c59ef6a812f13c788.tar.bz2
gsoc2013-evolution-3b06e302e3efc4d96a18c55c59ef6a812f13c788.tar.lz
gsoc2013-evolution-3b06e302e3efc4d96a18c55c59ef6a812f13c788.tar.xz
gsoc2013-evolution-3b06e302e3efc4d96a18c55c59ef6a812f13c788.tar.zst
gsoc2013-evolution-3b06e302e3efc4d96a18c55c59ef6a812f13c788.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=6347
-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);