diff options
Diffstat (limited to 'test/rspamd_fuzzy_test.c')
-rw-r--r-- | test/rspamd_fuzzy_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rspamd_fuzzy_test.c b/test/rspamd_fuzzy_test.c index 7805e4f42..a5c76cb34 100644 --- a/test/rspamd_fuzzy_test.c +++ b/test/rspamd_fuzzy_test.c @@ -36,12 +36,12 @@ static char *s5 = "This is sample test text.\r\n" void rspamd_fuzzy_test_func () { - memory_pool_t *pool; + rspamd_mempool_t *pool; fuzzy_hash_t *h1, *h2, *h3, *h4, *h5; f_str_t f1, f2, f3, f4, f5; int diff2; - pool = memory_pool_new (1024); + pool = rspamd_mempool_new (1024); f1.begin = s1; f1.len = strlen (s1); f2.begin = s2; @@ -72,5 +72,5 @@ rspamd_fuzzy_test_func () g_assert (diff2 == 100); } - memory_pool_delete (pool); + rspamd_mempool_delete (pool); } |