diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-10-26 14:49:37 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-10-26 14:49:37 +0000 |
commit | 4aee16e53d385803b2bae74255909aa0167fd823 (patch) | |
tree | 7dec7260dd9d4dbdce9ea5d9ec3499ecd4e77eb9 /src/lua/lua_trie.c | |
parent | 2d07ce2339f00513906be2c9fa9aa4e64d36c48b (diff) | |
download | rspamd-4aee16e53d385803b2bae74255909aa0167fd823.tar.gz rspamd-4aee16e53d385803b2bae74255909aa0167fd823.zip |
[Minor] Fix rspamd_has_only_html_part function + refactor macro names
Diffstat (limited to 'src/lua/lua_trie.c')
-rw-r--r-- | src/lua/lua_trie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_trie.c b/src/lua/lua_trie.c index 3941a5a85..7c63fc687 100644 --- a/src/lua/lua_trie.c +++ b/src/lua/lua_trie.c @@ -342,7 +342,7 @@ lua_trie_search_mime (lua_State *L) if (trie && task) { PTR_ARRAY_FOREACH (MESSAGE_FIELD (task, text_parts), i, part) { - if (!IS_PART_EMPTY (part) && part->utf_content != NULL) { + if (!IS_TEXT_PART_EMPTY (part) && part->utf_content != NULL) { text = part->utf_content->data; len = part->utf_content->len; |