aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/mem_pool.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-08-14 14:01:09 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-08-14 14:01:09 +0100
commit81d9b6e8f4eeaa5498e6c4ab7e80eb2789b46aad (patch)
tree759b86113a8e9e0562f2a880d72dc8f753353010 /src/libutil/mem_pool.h
parent8f4a6729d18ba775fdb7861ef0239f312d705f4a (diff)
downloadrspamd-81d9b6e8f4eeaa5498e6c4ab7e80eb2789b46aad.tar.gz
rspamd-81d9b6e8f4eeaa5498e6c4ab7e80eb2789b46aad.zip
[Rework] Finish utils rework
Diffstat (limited to 'src/libutil/mem_pool.h')
-rw-r--r--src/libutil/mem_pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/mem_pool.h b/src/libutil/mem_pool.h
index 8c253efe7..e3bb2b5cd 100644
--- a/src/libutil/mem_pool.h
+++ b/src/libutil/mem_pool.h
@@ -226,7 +226,7 @@ struct f_str_tok;
* @return pointer to newly created string that is copy of src
*/
gchar *rspamd_mempool_ftokdup_(rspamd_mempool_t *pool,
- struct f_str_tok src,
+ const struct f_str_tok *src,
const gchar *loc)
RSPAMD_ATTR_ALLOC_ALIGN(MIN_MEM_ALIGNMENT);
#define rspamd_mempool_ftokdup(pool, src) \