aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/backends
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-12-14 16:38:56 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-12-14 16:38:56 +0000
commit4370851c7900b0dc90f9aa1f21d817d85c299ad5 (patch)
treee46f0352597015f2f4a7ed4bf78d550b82451098 /src/libstat/backends
parent65477c306436ca302709f32d15b975fbf4dc21eb (diff)
downloadrspamd-4370851c7900b0dc90f9aa1f21d817d85c299ad5.tar.gz
rspamd-4370851c7900b0dc90f9aa1f21d817d85c299ad5.zip
[Minor] Fix build
Diffstat (limited to 'src/libstat/backends')
-rw-r--r--src/libstat/backends/redis_backend.cxx4
1 files changed, 2 insertions, 2 deletions
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;