aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/spf.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-11 18:42:28 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-11 18:42:28 +0300
commit626bd1c196da80aeed58ad3878f132a162034463 (patch)
tree506ed7b6344322c313cfde6119ac0a6a1859e84c /src/plugins/spf.c
parente31d2fac565ae6f32cb5283eb55392344364b453 (diff)
downloadrspamd-626bd1c196da80aeed58ad3878f132a162034463.tar.gz
rspamd-626bd1c196da80aeed58ad3878f132a162034463.zip
Fix static build.
Diffstat (limited to 'src/plugins/spf.c')
-rw-r--r--src/plugins/spf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/spf.c b/src/plugins/spf.c
index 4372f94b9..e9b1531ac 100644
--- a/src/plugins/spf.c
+++ b/src/plugins/spf.c
@@ -120,7 +120,7 @@ spf_module_config (struct config_file *cfg)
cache_size = DEFAULT_CACHE_SIZE;
}
if ((value = get_module_opt (cfg, "spf", "spf_cache_expire")) != NULL) {
- cache_expire = parse_time (value, TIME_SECONDS) / 1000;
+ cache_expire = cfg_parse_time (value, TIME_SECONDS) / 1000;
}
else {
cache_expire = DEFAULT_CACHE_MAXAGE;