summaryrefslogtreecommitdiffstats
path: root/test/rspamd_statfile_test.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-10-16 20:46:49 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-10-16 20:46:49 +0400
commit115313228194cacf60a3e09c9b8117078ab37350 (patch)
tree046941a374876a6ab66fd92f9dafde4df17371df /test/rspamd_statfile_test.c
parentd7a22c22ccc8aa3cd95c461d13f538b6d321ddc1 (diff)
downloadrspamd-115313228194cacf60a3e09c9b8117078ab37350.tar.gz
rspamd-115313228194cacf60a3e09c9b8117078ab37350.zip
* Add ability to change statfile size limit in config and allow reindexing of statfiles
Diffstat (limited to 'test/rspamd_statfile_test.c')
-rw-r--r--test/rspamd_statfile_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rspamd_statfile_test.c b/test/rspamd_statfile_test.c
index 282d4dc1c..9618874ba 100644
--- a/test/rspamd_statfile_test.c
+++ b/test/rspamd_statfile_test.c
@@ -41,7 +41,7 @@ rspamd_statfile_test_func ()
/* Create new file */
g_assert (statfile_pool_create (pool, TEST_FILENAME, 65535) != -1);
- g_assert ((st = statfile_pool_open (pool, TEST_FILENAME)) != NULL);
+ g_assert ((st = statfile_pool_open (pool, TEST_FILENAME, 65535, FALSE)) != NULL);
/* Get and set random blocks */
statfile_pool_lock_file (pool, st);