summaryrefslogtreecommitdiffstats
path: root/src/dynamic_cfg.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2013-01-06 20:33:31 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2013-01-06 20:33:31 +0400
commit6af303bd3ab37702ad4a6d50b74e95d2a2808e85 (patch)
tree044acffcfe2dd8527f914cdeb3949d5e93e70cee /src/dynamic_cfg.c
parent1d63fed447d8b74d81468a57af9773773f654210 (diff)
downloadrspamd-6af303bd3ab37702ad4a6d50b74e95d2a2808e85.tar.gz
rspamd-6af303bd3ab37702ad4a6d50b74e95d2a2808e85.zip
Add /maps and /getmap commands to webui.
Identify maps by id. Initialize secure random numbers using openssl. Add description to maps.
Diffstat (limited to 'src/dynamic_cfg.c')
-rw-r--r--src/dynamic_cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynamic_cfg.c b/src/dynamic_cfg.c
index 279b1e0a9..7b9596c6c 100644
--- a/src/dynamic_cfg.c
+++ b/src/dynamic_cfg.c
@@ -334,7 +334,7 @@ init_dynamic_config (struct config_file *cfg)
jb->buf = NULL;
jb->cfg = cfg;
*pjb = jb;
- if (!add_map (cfg, cfg->dynamic_conf, json_config_read_cb, json_config_fin_cb, (void **)pjb)) {
+ if (!add_map (cfg, cfg->dynamic_conf, "Dynamic configuration map", json_config_read_cb, json_config_fin_cb, (void **)pjb)) {
msg_err ("cannot add map for configuration %s", cfg->dynamic_conf);
}
}