aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_config.c')
-rw-r--r--src/lua/lua_config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c
index 4a238d45e..747f7b51e 100644
--- a/src/lua/lua_config.c
+++ b/src/lua/lua_config.c
@@ -1180,7 +1180,7 @@ struct lua_callback_data {
/* Dynamic data */
gint stack_level;
gint order;
- struct rspamd_symcache_item *item;
+ struct rspamd_symcache_dynamic_item *item;
};
/*
@@ -1214,7 +1214,7 @@ rspamd_compare_order_func (gconstpointer a, gconstpointer b)
static void
lua_metric_symbol_callback (struct rspamd_task *task,
- struct rspamd_symcache_item *item,
+ struct rspamd_symcache_dynamic_item *item,
gpointer ud)
{
struct lua_callback_data *cd = ud;
@@ -1350,7 +1350,7 @@ static void lua_metric_symbol_callback_error (struct thread_entry *thread_entry,
static void
lua_metric_symbol_callback_coro (struct rspamd_task *task,
- struct rspamd_symcache_item *item,
+ struct rspamd_symcache_dynamic_item *item,
gpointer ud)
{
struct lua_callback_data *cd = ud;