aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-14 14:11:27 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-14 14:11:27 +0000
commitd7f3f254ff4219080c67833d1984a641a290ef4c (patch)
treeadb3f5f68c452dcc252ed2c06dfca2fd07179015 /utils
parent747f2839b029685d4d9ec2faec5785fa8cc0fcce (diff)
downloadrspamd-d7f3f254ff4219080c67833d1984a641a290ef4c.tar.gz
rspamd-d7f3f254ff4219080c67833d1984a641a290ef4c.zip
[Minor] Fix display for message parts
Diffstat (limited to 'utils')
-rw-r--r--utils/mime_tool.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/mime_tool.c b/utils/mime_tool.c
index bc7cda2e4..c2dde4fdd 100644
--- a/utils/mime_tool.c
+++ b/utils/mime_tool.c
@@ -41,8 +41,9 @@ rspamd_show_multipart (struct rspamd_mime_part *part)
struct rspamd_mime_part *cur;
guint i;
- rspamd_printf ("got multipart part %p: parent: %p, type: %T/%T, children: [",
- part, part->parent_part,
+ rspamd_printf ("got multipart part %p, boundary: %T: parent: %p, type: %T/%T, children: [",
+ part, &part->ct->boundary,
+ part->parent_part,
&part->ct->type, &part->ct->subtype);
if (part->children) {
@@ -66,7 +67,7 @@ rspamd_show_multipart (struct rspamd_mime_part *part)
static void
rspamd_show_message (struct rspamd_mime_part *part)
{
- rspamd_printf ("got message part %p: parent: %p, type: %T/%T",
+ rspamd_printf ("got message part %p: parent: %p\n",
part, part->parent_part);
}