diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-04 14:36:00 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-04 14:36:00 +0000 |
commit | 22946f3b05a7021ff05e4b21de1e56fd2d32bcce (patch) | |
tree | 55591cddc17ce695af51269ff19d0b5337984835 /src | |
parent | 07933519f3925e439406b8ccc391540c2f0a3c1f (diff) | |
download | rspamd-22946f3b05a7021ff05e4b21de1e56fd2d32bcce.tar.gz rspamd-22946f3b05a7021ff05e4b21de1e56fd2d32bcce.zip |
[Minor] Fix API function
Diffstat (limited to 'src')
-rw-r--r-- | src/lua/lua_task.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 26ad15dec..2354cb546 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -4637,10 +4637,15 @@ struct tokens_foreach_cbdata { }; static void -tokens_foreach_cb (gint id, const gchar *sym, gint flags, gpointer ud) +tokens_foreach_cb (struct rspamd_symcache_item *item, gpointer ud) { struct tokens_foreach_cbdata *cbd = ud; struct rspamd_symbol_result *s; + gint flags; + const gchar *sym; + + sym = rspamd_symcache_item_name (item); + flags = rspamd_symcache_item_flags (item); if (flags & SYMBOL_TYPE_NOSTAT) { return; |