aboutsummaryrefslogtreecommitdiffstats
path: root/test/rspamd_upstream_test.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-27 17:31:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-27 17:36:29 +0100
commitb05c7c9edd197eea8aa11abcc416ea1463748f98 (patch)
tree06c165d661c28a1246cd23a3752bd172787701d7 /test/rspamd_upstream_test.c
parentbbdc006ee99784d31d4b1df3290f1a63fd4086e5 (diff)
downloadrspamd-b05c7c9edd197eea8aa11abcc416ea1463748f98.tar.gz
rspamd-b05c7c9edd197eea8aa11abcc416ea1463748f98.zip
Add tags to rspamd_mempool.
Diffstat (limited to 'test/rspamd_upstream_test.c')
-rw-r--r--test/rspamd_upstream_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rspamd_upstream_test.c b/test/rspamd_upstream_test.c
index c6738b0ff..28c4bb757 100644
--- a/test/rspamd_upstream_test.c
+++ b/test/rspamd_upstream_test.c
@@ -76,7 +76,7 @@ rspamd_upstream_test_func (void)
cfg = (struct rspamd_config *)g_malloc (sizeof (struct rspamd_config));
bzero (cfg, sizeof (struct rspamd_config));
- cfg->cfg_pool = rspamd_mempool_new (rspamd_mempool_suggest_size ());
+ cfg->cfg_pool = rspamd_mempool_new (rspamd_mempool_suggest_size (), NULL);
cfg->dns_retransmits = 2;
cfg->dns_timeout = 0.5;
cfg->upstream_max_errors = 1;