aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_trie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_trie.c')
-rw-r--r--src/lua/lua_trie.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lua/lua_trie.c b/src/lua/lua_trie.c
index 5911842b9..362564ce8 100644
--- a/src/lua/lua_trie.c
+++ b/src/lua/lua_trie.c
@@ -202,6 +202,7 @@ lua_trie_search_str (lua_State *L, struct rspamd_multipattern *trie,
static gint
lua_trie_match (lua_State *L)
{
+ LUA_TRACE_POINT;
struct rspamd_multipattern *trie = lua_check_trie (L, 1);
const gchar *text;
gsize len;
@@ -249,6 +250,7 @@ lua_trie_match (lua_State *L)
static gint
lua_trie_search_mime (lua_State *L)
{
+ LUA_TRACE_POINT;
struct rspamd_multipattern *trie = lua_check_trie (L, 1);
struct rspamd_task *task = lua_check_task (L, 2);
struct rspamd_mime_text_part *part;
@@ -286,6 +288,7 @@ lua_trie_search_mime (lua_State *L)
static gint
lua_trie_search_rawmsg (lua_State *L)
{
+ LUA_TRACE_POINT;
struct rspamd_multipattern *trie = lua_check_trie (L, 1);
struct rspamd_task *task = lua_check_task (L, 2);
const gchar *text;
@@ -316,6 +319,7 @@ lua_trie_search_rawmsg (lua_State *L)
static gint
lua_trie_search_rawbody (lua_State *L)
{
+ LUA_TRACE_POINT;
struct rspamd_multipattern *trie = lua_check_trie (L, 1);
struct rspamd_task *task = lua_check_task (L, 2);
const gchar *text;