aboutsummaryrefslogtreecommitdiffstats
path: root/src/greylist_storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/greylist_storage.c')
-rw-r--r--src/greylist_storage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/greylist_storage.c b/src/greylist_storage.c
index ec26ae27e..42e94320b 100644
--- a/src/greylist_storage.c
+++ b/src/greylist_storage.c
@@ -302,10 +302,10 @@ config_greylist_worker (struct rspamd_worker *worker)
ctx->expire_time = DEFAULT_EXPIRE_TIME;
if ((value = g_hash_table_lookup (worker->cf->params, "greylist_time")) != NULL) {
- ctx->greylist_time = parse_time (value, TIME_SECONDS) / 1000;
+ ctx->greylist_time = cfg_parse_time (value, TIME_SECONDS) / 1000;
}
if ((value = g_hash_table_lookup (worker->cf->params, "expire_time")) != NULL) {
- ctx->expire_time = parse_time (value, TIME_SECONDS) / 1000;
+ ctx->expire_time = cfg_parse_time (value, TIME_SECONDS) / 1000;
}
worker->ctx = ctx;