aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-06 12:19:36 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-06 12:19:36 +0000
commit21b1eec1aae4e8d5798742d9ca823ecb425a7672 (patch)
tree057985b0270f70248ecf2d0e003e9005d82ceaab /src
parent4123f20760911c152ed8ba45a5163448fefb3f4c (diff)
downloadrspamd-21b1eec1aae4e8d5798742d9ca823ecb425a7672.tar.gz
rspamd-21b1eec1aae4e8d5798742d9ca823ecb425a7672.zip
Always use one_shot mode for fuzzy_check.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index db1325d15..b58860715 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -553,7 +553,7 @@ fuzzy_io_callback (gint fd, short what, void *arg)
flag, map == NULL ? "(unknown)" : "");
if (map != NULL || !session->rule->skip_unknown) {
rspamd_snprintf (buf, sizeof (buf), "%d: %d / %.2f", flag, value, nval);
- insert_result (session->task, symbol, nval, g_list_prepend (NULL,
+ insert_result_single (session->task, symbol, nval, g_list_prepend (NULL,
memory_pool_strdup (session->task->task_pool, buf)));
}
}