From 996827b8fc5d460f6859ebb2b3617c72ce0e1c87 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 29 Apr 2003 20:23:56 +0000 Subject: Updated for API change in the filter code. 2003-04-29 Jeffrey Stedfast * importers/netscape-importer.c (netscape_add_priority_workaround_filters): Updated for API change in the filter code. svn path=/trunk/; revision=21020 --- mail/importers/netscape-importer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mail/importers') diff --git a/mail/importers/netscape-importer.c b/mail/importers/netscape-importer.c index 071620c144..650e2432a3 100644 --- a/mail/importers/netscape-importer.c +++ b/mail/importers/netscape-importer.c @@ -776,19 +776,19 @@ netscape_add_priority_workaround_filters (FilterContext *fc) fr = netscape_create_priority_converter (fc, LOWEST); rule_context_add_rule (RULE_CONTEXT(fc), FILTER_RULE(fr)); - rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), 0); + rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), FILTER_SOURCE_INCOMING, 0); fr = netscape_create_priority_converter (fc, LOW); rule_context_add_rule (RULE_CONTEXT(fc), FILTER_RULE(fr)); - rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), 1); + rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), FILTER_SOURCE_INCOMING, 1); fr = netscape_create_priority_converter (fc, HIGH); rule_context_add_rule (RULE_CONTEXT(fc), FILTER_RULE(fr)); - rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), 2); + rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), FILTER_SOURCE_INCOMING, 2); fr = netscape_create_priority_converter (fc, HIGHEST); rule_context_add_rule (RULE_CONTEXT(fc), FILTER_RULE(fr)); - rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), 3); + rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), FILTER_SOURCE_INCOMING, 3); } -- cgit