From ad837700b86153be3587672124ee663c964f0f15 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 20 Apr 2014 08:16:49 -0700 Subject: Refactor memory pool naming. --- test/rspamd_dkim_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/rspamd_dkim_test.c') diff --git a/test/rspamd_dkim_test.c b/test/rspamd_dkim_test.c index b6a613e48..a0c6332e4 100644 --- a/test/rspamd_dkim_test.c +++ b/test/rspamd_dkim_test.c @@ -63,7 +63,7 @@ rspamd_dkim_test_func () { rspamd_dkim_context_t *ctx; rspamd_dkim_key_t *key; - memory_pool_t *pool; + rspamd_mempool_t *pool; struct rspamd_dns_resolver *resolver; struct config_file *cfg; GError *err = NULL; @@ -71,11 +71,11 @@ rspamd_dkim_test_func () cfg = (struct config_file *)g_malloc (sizeof (struct config_file)); bzero (cfg, sizeof (struct config_file)); - cfg->cfg_pool = memory_pool_new (memory_pool_get_size ()); + cfg->cfg_pool = rspamd_mempool_new (rspamd_mempool_suggest_size ()); cfg->dns_retransmits = 10; cfg->dns_timeout = 1000; - pool = memory_pool_new (memory_pool_get_size ()); + pool = rspamd_mempool_new (rspamd_mempool_suggest_size ()); resolver = dns_resolver_init (base, cfg); -- cgit v1.2.3