summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-05 16:57:55 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-05 16:57:55 +0400
commitbae637bec8e9c23668cbacbb9f5a1bd829cae487 (patch)
treedabce6274bee145caca081a5dba6523783b5b749 /src/main.c
parent10a3c7a278b569bc978614f3b6e78d29f10a87e0 (diff)
downloadrspamd-bae637bec8e9c23668cbacbb9f5a1bd829cae487.tar.gz
rspamd-bae637bec8e9c23668cbacbb9f5a1bd829cae487.zip
* Fix stupid error with surbl module reconfig (another one, blame me)
* Do not show duplicate urls in url header
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index e75b46899..da8b87e64 100644
--- a/src/main.c
+++ b/src/main.c
@@ -28,6 +28,7 @@
#include "util.h"
#include "lmtp.h"
#include "smtp.h"
+#include "map.h"
#include "fuzzy_storage.h"
#include "cfg_xml.h"
@@ -951,6 +952,7 @@ main (int argc, char **argv, char **env)
msg_info ("rspamd " RVERSION " is restarting");
g_hash_table_foreach (rspamd->workers, kill_old_workers, NULL);
+ remove_all_maps ();
reread_config (rspamd);
spawn_workers (rspamd);