diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-10-17 21:04:29 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-10-17 21:04:29 +0300 |
commit | bb783aa50c87907a2012d6979b47e10c9189892e (patch) | |
tree | 1f02a3072cc00f23047b07dc6728aa7d6e02c10b /src/plugins | |
parent | df46d970cdea50a41ae54d9125d61458c59486d7 (diff) | |
download | rspamd-bb783aa50c87907a2012d6979b47e10c9189892e.tar.gz rspamd-bb783aa50c87907a2012d6979b47e10c9189892e.zip |
* Add configuration utils for kvstorage
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/regexp.c | 2 |
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; |