summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-04-27 18:43:22 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-04-27 18:43:22 +0400
commit02a6d987bbdf55e06375544a14c046d1724f946e (patch)
treedae44cce3c62f56794fb4245ac86020f27ea7591 /src/plugins
parent971bad45c44cf430bde13faede56699ba0381e83 (diff)
downloadrspamd-02a6d987bbdf55e06375544a14c046d1724f946e.tar.gz
rspamd-02a6d987bbdf55e06375544a14c046d1724f946e.zip
* Improve logging system:
- do not write many repeated messages to log - add process name to log line * Small fixes to FreeBSD port and to start script as we have xml version now * Reconfig modules while rereading config file
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index bb66d1037..aa2b788ff 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -283,6 +283,8 @@ int
fuzzy_check_module_reconfig (struct config_file *cfg)
{
memory_pool_delete (fuzzy_module_ctx->fuzzy_pool);
+ fuzzy_module_ctx->servers = NULL;
+ fuzzy_module_ctx->servers_num = 0;
fuzzy_module_ctx->fuzzy_pool = memory_pool_new (memory_pool_get_size ());
return fuzzy_check_module_config (cfg);