aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/mem_pool_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/mem_pool_internal.h')
-rw-r--r--src/libutil/mem_pool_internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/mem_pool_internal.h b/src/libutil/mem_pool_internal.h
index 26a687b6c..2f9ad15b6 100644
--- a/src/libutil/mem_pool_internal.h
+++ b/src/libutil/mem_pool_internal.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2024 Vsevolod Stakhov
+ * Copyright 2025 Vsevolod Stakhov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -63,8 +63,8 @@ struct rspamd_mempool_variable {
};
KHASH_INIT(rspamd_mempool_vars_hash,
- uint32_t, struct rspamd_mempool_variable, 1,
- kh_int_hash_func, kh_int_hash_equal);
+ const char *, struct rspamd_mempool_variable, 1,
+ kh_str_hash_func, kh_str_hash_equal);
struct rspamd_mempool_specific {
struct _pool_chain *pools[RSPAMD_MEMPOOL_MAX];