aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/backends/cdb_backend.cxx
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-06-11 13:24:50 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-06-11 13:24:50 +0100
commit57d60a6c7974da4604a2158c407c25251f070d7d (patch)
treebee8c78ed7b70ad93b820c672a846ca53c293d0c /src/libstat/backends/cdb_backend.cxx
parent48297adf9639ed9711c55560a26a09bee3da9dd7 (diff)
downloadrspamd-57d60a6c7974da4604a2158c407c25251f070d7d.tar.gz
rspamd-57d60a6c7974da4604a2158c407c25251f070d7d.zip
[Project] Add experimental HTTP statistics backend
Diffstat (limited to 'src/libstat/backends/cdb_backend.cxx')
-rw-r--r--src/libstat/backends/cdb_backend.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstat/backends/cdb_backend.cxx b/src/libstat/backends/cdb_backend.cxx
index 15c3d3035..590cddafa 100644
--- a/src/libstat/backends/cdb_backend.cxx
+++ b/src/libstat/backends/cdb_backend.cxx
@@ -377,9 +377,9 @@ gboolean
rspamd_cdb_process_tokens(struct rspamd_task* task,
GPtrArray* tokens,
gint id,
- gpointer ctx)
+ gpointer runtime)
{
- auto *cdbp = CDB_FROM_RAW(ctx);
+ auto *cdbp = CDB_FROM_RAW(runtime);
bool seen_values = false;
for (auto i = 0u; i < tokens->len; i++) {