aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/message.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-09-28 11:00:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-09-28 11:00:29 +0100
commitffdde528bb3981325cdbc69600ffbaff024a6ad3 (patch)
treebc63626a8e14e386d4bf9a2716927c5bce2ac659 /src/libmime/message.h
parent5dd1c05bcd1141456a9e48d24ceec4b3cde0f276 (diff)
downloadrspamd-ffdde528bb3981325cdbc69600ffbaff024a6ad3.tar.gz
rspamd-ffdde528bb3981325cdbc69600ffbaff024a6ad3.zip
[Minor] Do not count empty words
Diffstat (limited to 'src/libmime/message.h')
-rw-r--r--src/libmime/message.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmime/message.h b/src/libmime/message.h
index a921d6f38..d6f1b76c0 100644
--- a/src/libmime/message.h
+++ b/src/libmime/message.h
@@ -140,8 +140,8 @@ struct rspamd_mime_text_part {
GByteArray *utf_content; /* utf8 encoded processed content */
GByteArray *utf_raw_content; /* utf raw content */
GByteArray *utf_stripped_content; /* utf content with no newlines */
- GArray *normalized_hashes;
- GArray *utf_words;
+ GArray *normalized_hashes; /* Array of guint64 */
+ GArray *utf_words; /* Array of rspamd_stat_token_t */
UText utf_stripped_text; /* Used by libicu to represent the utf8 content */
GPtrArray *newlines; /**< positions of newlines in text, relative to content*/