diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-03 17:37:53 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-03 17:37:53 +0000 |
commit | cdf89b1d3b599cdc1716403dcc93f0ca4f06a247 (patch) | |
tree | 1bda580c4adfc748907cfc47f618fab38f76e86c /src/plugins | |
parent | 45e84668a1c7a7131db53e2b94375cfc98d68556 (diff) | |
download | rspamd-cdf89b1d3b599cdc1716403dcc93f0ca4f06a247.tar.gz rspamd-cdf89b1d3b599cdc1716403dcc93f0ca4f06a247.zip |
Fix code for the new cache
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 08c38ffb9..efee83e35 100644 --- a/src/plugins/regexp.c +++ b/src/plugins/regexp.c @@ -129,7 +129,7 @@ regexp_module_config (struct rspamd_config *cfg) if (g_ascii_strncasecmp (ucl_object_key (value), "max_size", sizeof ("max_size") - 1) == 0) { regexp_module_ctx->max_size = ucl_obj_toint (value); - rspamd_mime_expression_set_re_limit (regexp_module_ctx->max_size); + rspamd_re_cache_set_limit (cfg->re_cache, regexp_module_ctx->max_size); } else if (g_ascii_strncasecmp (ucl_object_key (value), "max_threads", sizeof ("max_threads") - 1) == 0) { |