From 80e3efe0781aed960572688946fc1609f2cd4a45 Mon Sep 17 00:00:00 2001 From: tyrolyean Date: Wed, 29 Apr 2020 02:11:47 +0200 Subject: [PATCH] Corrected debug output Signed-off-by: tyrolyean --- src/attach.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/attach.c b/src/attach.c index 4ede8c4..de1659f 100644 --- a/src/attach.c +++ b/src/attach.c @@ -44,12 +44,11 @@ struct email_t mail_from_text(char* message, size_t length){ mail.is_multipart = false; return mail; }else{ - printf("Content Type set: %.*s",15, cont_type); size_t value_length = 0; char * mime_type = get_value_from_key(&value_length, cont_type - mail.message, &mail); if(mime_type != NULL){ - printf("Found message mime type: %.*s\n", + printf("Found message mime type: [%.*s]\n", (int)value_length, mime_type); } }