aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/message.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-13 17:48:21 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-13 17:48:21 +0000
commitba7924d7f331ba0523a3f5a2dd012f236d41b46e (patch)
tree9bfa925489874c06d020b3364d6f341a177ba2c7 /src/libmime/message.c
parent2d6db9acb0e06c61f034407b64dcc41280a7b8c9 (diff)
downloadrspamd-ba7924d7f331ba0523a3f5a2dd012f236d41b46e.tar.gz
rspamd-ba7924d7f331ba0523a3f5a2dd012f236d41b46e.zip
[Rework] Add preliminary implementation of the mime parser
Diffstat (limited to 'src/libmime/message.c')
-rw-r--r--src/libmime/message.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c
index cb9009d7b..e8b8f0bab 100644
--- a/src/libmime/message.c
+++ b/src/libmime/message.c
@@ -1138,7 +1138,7 @@ rspamd_message_parse (struct rspamd_task *task)
GPtrArray *hdrs;
GMimeObject *parent;
const GMimeContentType *ct;
- struct raw_header *rh;
+ struct rspamd_mime_header *rh;
struct rspamd_mime_text_part *p1, *p2;
struct mime_foreach_data md;
struct received_header *recv, *trecv;
@@ -1527,7 +1527,7 @@ rspamd_message_get_header_from_hash (GHashTable *htb,
gboolean strong)
{
GPtrArray *ret, *ar;
- struct raw_header *cur;
+ struct rspamd_mime_header *cur;
guint i;
ar = g_hash_table_lookup (htb, field);
@@ -1573,7 +1573,7 @@ rspamd_message_get_mime_header_array (struct rspamd_task *task,
gboolean strong)
{
GPtrArray *ret, *ar;
- struct raw_header *cur;
+ struct rspamd_mime_header *cur;
guint nelems = 0, i, j;
struct rspamd_mime_part *mp;