diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-08-04 17:50:57 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-08-04 17:50:57 +0400 |
commit | 80b5b55a53622875d4973ea1d440dc7fa916f20b (patch) | |
tree | 5ad851c6fe7e6fd31fa246d874b53ae75f970012 /src/plugins | |
parent | f46e13b47c010f16075350e17ca0dbfea46e6e05 (diff) | |
download | rspamd-80b5b55a53622875d4973ea1d440dc7fa916f20b.tar.gz rspamd-80b5b55a53622875d4973ea1d440dc7fa916f20b.zip |
* Fix wirting message id during fuzzy_add command
* Display weight of symbols correctly
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/fuzzy_check.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 49b9b976e..9142ca49e 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -718,7 +718,8 @@ fuzzy_process_handler (struct controller_session *session, f_str_t * in) } } - free_task (task, FALSE); + memory_pool_add_destructor (session->session_pool, (pool_destruct_func)free_task_soft, task); + if (*saved == 0) { session->state = STATE_REPLY; r = rspamd_snprintf (out_buf, sizeof (out_buf), "no hashes written" CRLF); |