summaryrefslogtreecommitdiffstats
path: root/test/rspamd_upstream_test.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 /test/rspamd_upstream_test.c
parent641353ecb1c68ef7642a15d861ff59aba672ac54 (diff)
downloadrspamd-6943c3c3a4dd1334aa041fcd7df9598ecec3f152.tar.gz
rspamd-6943c3c3a4dd1334aa041fcd7df9598ecec3f152.zip
[Minor] Refactor DNS resolver invocations
Diffstat (limited to 'test/rspamd_upstream_test.c')
-rw-r--r--test/rspamd_upstream_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rspamd_upstream_test.c b/test/rspamd_upstream_test.c
index f9eb2bcfd..05e0ec730 100644
--- a/test/rspamd_upstream_test.c
+++ b/test/rspamd_upstream_test.c
@@ -71,7 +71,7 @@ rspamd_upstream_test_func (void)
cfg->upstream_revive_time = 0.5;
cfg->upstream_error_time = 2;
- resolver = dns_resolver_init (NULL, ev_base, cfg);
+ resolver = rspamd_dns_resolver_init (NULL, ev_base, cfg);
rspamd_upstreams_library_config (cfg, cfg->ups_ctx, ev_base, resolver->r);
/*