diff options
Diffstat (limited to 'test/rspamd_dns_test.c')
-rw-r--r-- | test/rspamd_dns_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rspamd_dns_test.c b/test/rspamd_dns_test.c index 5728b5a2d..dd2447d9c 100644 --- a/test/rspamd_dns_test.c +++ b/test/rspamd_dns_test.c @@ -80,7 +80,7 @@ rspamd_dns_test_func () pool = rspamd_mempool_new (rspamd_mempool_suggest_size ()); - s = new_async_session (pool, session_fin, NULL, NULL, NULL); + s = rspamd_session_create (pool, session_fin, NULL, NULL, NULL); resolver = dns_resolver_init (NULL, base, cfg); |