diff options
author | Mikhail Galanin <mgalanin@mimecast.com> | 2018-09-10 11:02:47 +0100 |
---|---|---|
committer | Mikhail Galanin <mgalanin@mimecast.com> | 2018-09-10 11:02:47 +0100 |
commit | 6990ef3daa64ad7ab9724dbb20cea92e243fb46a (patch) | |
tree | 6c08f3fa5f885c03ff719fb5fb9d9d41f48587d3 /src/lua/lua_trie.c | |
parent | ed1c0fe1f58697d45d35d09f3635218e346c2f9c (diff) | |
parent | 8128b539535d3c8df974ac2fee7d673f5d3c5502 (diff) | |
download | rspamd-6990ef3daa64ad7ab9724dbb20cea92e243fb46a.tar.gz rspamd-6990ef3daa64ad7ab9724dbb20cea92e243fb46a.zip |
Merge branch 'master' into rspamadm-coroutines
Diffstat (limited to 'src/lua/lua_trie.c')
-rw-r--r-- | src/lua/lua_trie.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/lua_trie.c b/src/lua/lua_trie.c index 16a8ace0c..e6a6052d4 100644 --- a/src/lua/lua_trie.c +++ b/src/lua/lua_trie.c @@ -262,9 +262,9 @@ lua_trie_search_mime (lua_State *L) for (i = 0; i < task->text_parts->len; i ++) { part = g_ptr_array_index (task->text_parts, i); - if (!IS_PART_EMPTY (part) && part->content != NULL) { - text = part->content->data; - len = part->content->len; + if (!IS_PART_EMPTY (part) && part->utf_content != NULL) { + text = part->utf_content->data; + len = part->utf_content->len; if (lua_trie_search_str (L, trie, text, len) != 0) { found = TRUE; |