aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/backends/sqlite3_backend.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-09 17:13:12 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-09 17:13:12 +0100
commitc2351037b581724ce6d6cbcf4da5a0115b87c8de (patch)
treed55bd57d8bda456308b21cba7827fb2e2fc272a0 /src/libstat/backends/sqlite3_backend.c
parentf5c0d7116e373fa48ab465e8d8dcae1ddaf44932 (diff)
downloadrspamd-c2351037b581724ce6d6cbcf4da5a0115b87c8de.tar.gz
rspamd-c2351037b581724ce6d6cbcf4da5a0115b87c8de.zip
[Feature] Support multiple base32 alphabets
Diffstat (limited to 'src/libstat/backends/sqlite3_backend.c')
-rw-r--r--src/libstat/backends/sqlite3_backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/backends/sqlite3_backend.c b/src/libstat/backends/sqlite3_backend.c
index 38f296177..1ddfa6f17 100644
--- a/src/libstat/backends/sqlite3_backend.c
+++ b/src/libstat/backends/sqlite3_backend.c
@@ -502,7 +502,7 @@ rspamd_sqlite3_opendb (rspamd_mempool_t *pool,
tk_conf = tokenizer->get_config (pool, stcf->clcf->tokenizer, &sz);
/* Encode to base32 */
- tok_conf_encoded = rspamd_encode_base32 (tk_conf, sz);
+ tok_conf_encoded = rspamd_encode_base32 (tk_conf, sz, RSPAMD_BASE32_DEFAULT);
if (rspamd_sqlite3_run_prstmt (pool, bk->sqlite, bk->prstmt,
RSPAMD_STAT_BACKEND_SAVE_TOKENIZER,