From: Vsevolod Stakhov Date: Thu, 14 Dec 2023 16:38:56 +0000 (+0000) Subject: [Minor] Fix build X-Git-Tag: 3.8.0~32 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4370851c7900b0dc90f9aa1f21d817d85c299ad5;p=rspamd.git [Minor] Fix build --- diff --git a/src/libstat/backends/redis_backend.cxx b/src/libstat/backends/redis_backend.cxx index 7bebeb1ed..6b3c9aae4 100644 --- a/src/libstat/backends/redis_backend.cxx +++ b/src/libstat/backends/redis_backend.cxx @@ -789,7 +789,7 @@ rspamd_redis_process_tokens(struct rspamd_task *task, } gsize tokens_len; - gchar *tokens_buf = rspamd_redis_serialize_tokens(task, tokens, &tokens_len); + gchar *tokens_buf = rspamd_redis_serialize_tokens(task, rt->redis_object_expanded, tokens, &tokens_len); rt->id = id; lua_pushcfunction(L, &rspamd_lua_traceback); @@ -876,7 +876,7 @@ rspamd_redis_learn_tokens(struct rspamd_task *task, } gsize tokens_len; - gchar *tokens_buf = rspamd_redis_serialize_tokens(task, tokens, &tokens_len); + gchar *tokens_buf = rspamd_redis_serialize_tokens(task, rt->redis_object_expanded, tokens, &tokens_len); rt->id = id;