summaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.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/plugins/regexp.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/plugins/regexp.c')
-rw-r--r--src/plugins/regexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c
index ebb4ff648..9dce07772 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -611,7 +611,7 @@ regexp_module_config (struct config_file *cfg)
jb->buf = NULL;
jb->cfg = cfg;
*pjb = jb;
- if (!add_map (cfg, value, json_regexp_read_cb, json_regexp_fin_cb, (void **)pjb)) {
+ if (!add_map (cfg, value, "Dynamic regexp rules", json_regexp_read_cb, json_regexp_fin_cb, (void **)pjb)) {
msg_err ("cannot add map %s", value);
}
}