summaryrefslogtreecommitdiffstats
path: root/src/cfg_rcl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-04 16:11:54 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-04 16:11:54 +0000
commitea3c69a103647377d662edb3b59486466352945c (patch)
tree8fadbfdaa38809515320d6d5e8cb4277a342133b /src/cfg_rcl.c
parent4ce9f550f52f0656ce4ae5a8cda2caaf6b553aa7 (diff)
downloadrspamd-ea3c69a103647377d662edb3b59486466352945c.tar.gz
rspamd-ea3c69a103647377d662edb3b59486466352945c.zip
Init logging just after config is parsed by ucl.
Diffstat (limited to 'src/cfg_rcl.c')
-rw-r--r--src/cfg_rcl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cfg_rcl.c b/src/cfg_rcl.c
index b27dedbdd..a33040bfe 100644
--- a/src/cfg_rcl.c
+++ b/src/cfg_rcl.c
@@ -1198,6 +1198,9 @@ rspamd_read_rcl_config (struct rspamd_rcl_section *top,
}
}
}
+ if (cur->fin) {
+ cur->fin (cfg, cur->fin_ud);
+ }
}
cfg->rcl_obj = obj;