aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-11 15:00:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-11 15:00:01 +0100
commit6943c3c3a4dd1334aa041fcd7df9598ecec3f152 (patch)
treefa00017db0e4bf42d211c92088b72912c423fe7d /src/lua/lua_util.c
parent641353ecb1c68ef7642a15d861ff59aba672ac54 (diff)
downloadrspamd-6943c3c3a4dd1334aa041fcd7df9598ecec3f152.tar.gz
rspamd-6943c3c3a4dd1334aa041fcd7df9598ecec3f152.zip
[Minor] Refactor DNS resolver invocations
Diffstat (limited to 'src/lua/lua_util.c')
-rw-r--r--src/lua/lua_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c
index ec5f98c22..e6241b48d 100644
--- a/src/lua/lua_util.c
+++ b/src/lua/lua_util.c
@@ -856,7 +856,7 @@ lua_util_process_message (lua_State *L)
task->msg.len = mlen;
task->fin_callback = lua_util_task_fin;
task->fin_arg = &res;
- task->resolver = dns_resolver_init (NULL, base, cfg);
+ task->resolver = rspamd_dns_resolver_init (NULL, base, cfg);
task->s = rspamd_session_create (task->task_pool, rspamd_task_fin,
rspamd_task_restore, (event_finalizer_t)rspamd_task_free, task);