aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-11-11 12:53:52 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-11-11 12:53:52 +0000
commitd425994c8336f6c322eaea3657a0be8b6cbb7cf7 (patch)
tree9ccff1af62b6793ce05c409f670b6a8f978d861f /src
parent44b9961895e11117b8500ae0d070046670f998e6 (diff)
downloadrspamd-d425994c8336f6c322eaea3657a0be8b6cbb7cf7.tar.gz
rspamd-d425994c8336f6c322eaea3657a0be8b6cbb7cf7.zip
[Minor] Avoid double initialization for logger
Diffstat (limited to 'src')
-rw-r--r--src/libserver/cfg_rcl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index 4386abfe9..cacc206db 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -3575,6 +3575,8 @@ rspamd_config_read (struct rspamd_config *cfg, const gchar *filename,
logger_fin (cfg->cfg_pool, logger_ud);
}
}
+
+ HASH_DEL (top, logger_section);
}
}