aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-10-17 21:04:29 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-10-17 21:04:29 +0300
commitbb783aa50c87907a2012d6979b47e10c9189892e (patch)
tree1f02a3072cc00f23047b07dc6728aa7d6e02c10b /src/plugins
parentdf46d970cdea50a41ae54d9125d61458c59486d7 (diff)
downloadrspamd-bb783aa50c87907a2012d6979b47e10c9189892e.tar.gz
rspamd-bb783aa50c87907a2012d6979b47e10c9189892e.zip
* Add configuration utils for kvstorage
Diffstat (limited to 'src/plugins')
-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 519666662..e4eb82398 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -498,7 +498,7 @@ regexp_module_config (struct config_file *cfg)
regexp_module_ctx->statfile_prefix = DEFAULT_STATFILE_PREFIX;
}
if ((value = get_module_opt (cfg, "regexp", "max_size")) != NULL) {
- regexp_module_ctx->max_size = parse_limit (value);
+ regexp_module_ctx->max_size = parse_limit (value, -1);
}
else {
regexp_module_ctx->max_size = 0;