diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-10-21 15:37:04 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-10-21 15:37:04 +0100 |
commit | a8e0f75aa6df80fd27ea25f40307f3892a991c8f (patch) | |
tree | 710eeb440961d72c8ffe9c261088f1ce7120e28d /lualib/rspamadm/statistics_dump.lua | |
parent | 923f93fb6bad21c3a6edadca15e516daa05d1e5f (diff) | |
download | rspamd-a8e0f75aa6df80fd27ea25f40307f3892a991c8f.tar.gz rspamd-a8e0f75aa6df80fd27ea25f40307f3892a991c8f.zip |
[Minor] Agree on types between dump and backend
Diffstat (limited to 'lualib/rspamadm/statistics_dump.lua')
-rw-r--r-- | lualib/rspamadm/statistics_dump.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/rspamadm/statistics_dump.lua b/lualib/rspamadm/statistics_dump.lua index 33b2a3cc5..aa461a92a 100644 --- a/lualib/rspamadm/statistics_dump.lua +++ b/lualib/rspamadm/statistics_dump.lua @@ -266,7 +266,7 @@ local function dump_pattern(conn, pattern, opts, out, key) if opts.cdb then table.insert(out[key].elts, { key = rspamd_i64.fromstring(string.match(d.key, '%d+')), - value = rspamd_util.pack('<n<n', tonumber(d.data["S"] or '0') or 0, + value = rspamd_util.pack('ff', tonumber(d.data["S"] or '0') or 0, tonumber(d.data["H"] or '0')) }) else |