diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-12-14 17:02:11 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-12-14 17:02:11 +0000 |
commit | 7326da15073eaf259426cc84d966e2ec6dcbc427 (patch) | |
tree | 8c396252fd8e4d9b95ffff3c5f510f667e4bd8f3 /src/libstat | |
parent | b430183a56e0f4222a6d9af201a5ec35a08fbe70 (diff) | |
download | rspamd-7326da15073eaf259426cc84d966e2ec6dcbc427.tar.gz rspamd-7326da15073eaf259426cc84d966e2ec6dcbc427.zip |
[Minor] Another issue
Diffstat (limited to 'src/libstat')
-rw-r--r-- | src/libstat/backends/redis_backend.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/backends/redis_backend.cxx b/src/libstat/backends/redis_backend.cxx index c40d50b1c..b91d93ac8 100644 --- a/src/libstat/backends/redis_backend.cxx +++ b/src/libstat/backends/redis_backend.cxx @@ -673,7 +673,7 @@ rspamd_redis_serialize_tokens(struct rspamd_task *task, const gchar *prefix, GPt auto r = rspamd_snprintf(numbuf, numbuf_len, "%s_%uL", prefix, tok->data); *p++ = (gchar) ((r & 0xff) | 0xa0); - memcpy(p, &numbuf, r); + memcpy(p, numbuf, r); p += r; } |