aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-07 16:02:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-07 16:02:01 +0100
commit65a811fb43b0d0e3557e53c9cf18131e20ba5456 (patch)
tree20f3b694f72c32904d220eb15c622a015d7d695c /src/libserver/task.h
parentfcd2daa1c3d0613f6adb9bbb3f7cccac8318cf50 (diff)
downloadrspamd-65a811fb43b0d0e3557e53c9cf18131e20ba5456.tar.gz
rspamd-65a811fb43b0d0e3557e53c9cf18131e20ba5456.zip
[Fix] More fixes to end of headers detection
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index f34c2ce10..4fb2ba3e3 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -142,7 +142,11 @@ struct rspamd_task {
GMimeMessage *message; /**< message, parsed with GMime */
GPtrArray *parts; /**< list of parsed parts */
GPtrArray *text_parts; /**< list of text parts */
- rspamd_ftok_t raw_headers_content; /**< list of raw headers */
+ struct {
+ const gchar *begin;
+ gsize len;
+ const gchar *body_start;
+ } raw_headers_content; /**< list of raw headers */
GPtrArray *received; /**< list of received headers */
GHashTable *urls; /**< list of parsed urls */
GHashTable *emails; /**< list of parsed emails */