summaryrefslogtreecommitdiffstats
path: root/src/filter.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-22 17:36:34 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-22 17:36:34 +0300
commitcb34e117a397a6d27734cf3564001bfec97ec0ea (patch)
treecca31c7d6dff37904ab2164e761b13c054a65cd7 /src/filter.c
parent5492467747da01e72fe8b9e80ebee28121c68dc6 (diff)
downloadrspamd-cb34e117a397a6d27734cf3564001bfec97ec0ea.tar.gz
rspamd-cb34e117a397a6d27734cf3564001bfec97ec0ea.zip
* Add options section into config to organize options
* Add one_shot option for avoiding inserting several results from one rule Fix parsing of headers with \t symbol [1] Reported by: Victor Ustugov [1]
Diffstat (limited to 'src/filter.c')
-rw-r--r--src/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter.c b/src/filter.c
index 4b8585a7c..d41c85ff0 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -171,7 +171,7 @@ insert_result_common (struct worker_task *task, const gchar *symbol, double flag
void
insert_result (struct worker_task *task, const gchar *symbol, double flag, GList * opts)
{
- insert_result_common (task, symbol, flag, opts, FALSE);
+ insert_result_common (task, symbol, flag, opts, task->cfg->one_shot_mode);
}
/* Insert result as a single option */