diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-30 14:27:14 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-30 14:27:14 +0100 |
commit | 8160aa803846616f28d94519486d310a771f58bf (patch) | |
tree | 56ccb9681b77f574d42f054f1b2431609d80dbd6 /src/lua/lua_util.c | |
parent | f3d6aacab592f53a346b7573911dee2489392b3a (diff) | |
download | rspamd-8160aa803846616f28d94519486d310a771f58bf.tar.gz rspamd-8160aa803846616f28d94519486d310a771f58bf.zip |
[Test] Improve tokenization tests
Diffstat (limited to 'src/lua/lua_util.c')
-rw-r--r-- | src/lua/lua_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 46f103f1a..64b25c14a 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -1007,6 +1007,7 @@ lua_util_tokenize_text (lua_State *L) ex = g_malloc0 (sizeof (*ex)); ex->pos = pos; ex->len = ex_len; + ex->type = RSPAMD_EXCEPTION_URL; exceptions = g_list_prepend (exceptions, ex); } } |