diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-26 14:00:03 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-26 14:00:03 +0100 |
commit | f1e2f1acd45ffc6ae8f79bbba23d4734e588898f (patch) | |
tree | ecbecaa5f103192933407a24d3668a39a0744545 /test/rspamd_dns_test.c | |
parent | 537492c40116a8f38c209f7b36dacd0562504b44 (diff) | |
download | rspamd-f1e2f1acd45ffc6ae8f79bbba23d4734e588898f.tar.gz rspamd-f1e2f1acd45ffc6ae8f79bbba23d4734e588898f.zip |
Refactor events API.
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); |