diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-06 12:19:36 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-06 12:19:36 +0000 |
commit | 21b1eec1aae4e8d5798742d9ca823ecb425a7672 (patch) | |
tree | 057985b0270f70248ecf2d0e003e9005d82ceaab /src | |
parent | 4123f20760911c152ed8ba45a5163448fefb3f4c (diff) | |
download | rspamd-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.c | 2 |
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))); } } |