aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/backends/cdb_backend.cxx
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-06-18 14:35:55 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-06-18 14:35:55 +0100
commit655048871c3bd6ee0b8e957a2b6f127b71149bec (patch)
tree6230fb73d3e5d2c35f1156cd321dc7e1689c5f4f /src/libstat/backends/cdb_backend.cxx
parent6d1ccd4aeec5509c9be5d17da376aa3cbe282969 (diff)
downloadrspamd-655048871c3bd6ee0b8e957a2b6f127b71149bec.tar.gz
rspamd-655048871c3bd6ee0b8e957a2b6f127b71149bec.zip
[Minor] Pass statfile id when requesting for the backend runtime
Diffstat (limited to 'src/libstat/backends/cdb_backend.cxx')
-rw-r--r--src/libstat/backends/cdb_backend.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstat/backends/cdb_backend.cxx b/src/libstat/backends/cdb_backend.cxx
index 590cddafa..d0915d2d7 100644
--- a/src/libstat/backends/cdb_backend.cxx
+++ b/src/libstat/backends/cdb_backend.cxx
@@ -367,7 +367,8 @@ gpointer
rspamd_cdb_runtime(struct rspamd_task* task,
struct rspamd_statfile_config* stcf,
gboolean learn,
- gpointer ctx)
+ gpointer ctx,
+ gint _id)
{
/* In CDB we don't have any dynamic stuff */
return ctx;