Base 64 debug output

Signed-off-by: Tyrolyean <>
This commit is contained in:
Tyrolyean 2020-04-29 19:29:13 +02:00
parent 60c0050a9b
commit c5257bbb6c
No known key found for this signature in database
GPG Key ID: 81EC9BAC5E9667C6
1 changed files with 6 additions and 2 deletions

View File

@ -225,14 +225,18 @@ void print_mail_structure(struct email_t *email, unsigned int level){
printf(" ");
printf("Base64 encoded ");
printf("Multipart Message with %lu submessages:\n",
printf("multipart Message with %lu submessages:\n",
for(size_t i = 0; i < email->submes_cnt; i++){
print_mail_structure(email->submes[i], level+1);
printf("Final message with length %lu and type [%.*s] \n",
printf("final message with length %lu and type [%.*s] \n",
email->message_length, (int)email->ct_len,