Corrected debug output
Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
parent
9ee2dd8b75
commit
80e3efe078
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue