commit 22946f3: [Minor] Fix API function
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Dec 4 14:42:09 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-12-04 14:36:00 +0000
URL: https://github.com/rspamd/rspamd/commit/22946f3b05a7021ff05e4b21de1e56fd2d32bcce (HEAD -> master)
[Minor] Fix API function
---
src/lua/lua_task.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
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;
More information about the Commits
mailing list