aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/dkim.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/libserver/dkim.c
parent641353ecb1c68ef7642a15d861ff59aba672ac54 (diff)
downloadrspamd-6943c3c3a4dd1334aa041fcd7df9598ecec3f152.tar.gz
rspamd-6943c3c3a4dd1334aa041fcd7df9598ecec3f152.zip
[Minor] Refactor DNS resolver invocations
Diffstat (limited to 'src/libserver/dkim.c')
-rw-r--r--src/libserver/dkim.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c
index 9f5cabf6e..98b8e1006 100644
--- a/src/libserver/dkim.c
+++ b/src/libserver/dkim.c
@@ -1575,11 +1575,11 @@ rspamd_get_dkim_key (rspamd_dkim_context_t *ctx,
cbdata->handler = handler;
cbdata->ud = ud;
- return make_dns_request_task_forced (task,
- rspamd_dkim_dns_cb,
- cbdata,
- RDNS_REQUEST_TXT,
- ctx->dns_key);
+ return rspamd_dns_resolver_request_task_forced (task,
+ rspamd_dkim_dns_cb,
+ cbdata,
+ RDNS_REQUEST_TXT,
+ ctx->dns_key);
}
static gboolean