aboutsummaryrefslogtreecommitdiffstats
path: root/test/rspamd_fuzzy_test.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-20 08:16:49 -0700
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-20 08:16:49 -0700
commitad837700b86153be3587672124ee663c964f0f15 (patch)
tree7ec6e8fbe539a169d501a3d1767644b68fab2dab /test/rspamd_fuzzy_test.c
parentbaeb17562f47dc31610c0f65079c45a7e6ad44bb (diff)
downloadrspamd-ad837700b86153be3587672124ee663c964f0f15.tar.gz
rspamd-ad837700b86153be3587672124ee663c964f0f15.zip
Refactor memory pool naming.
Diffstat (limited to 'test/rspamd_fuzzy_test.c')
-rw-r--r--test/rspamd_fuzzy_test.c6
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);
}