Again, prevent failing myself...

Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
tyrolyean 2020-05-01 02:00:25 +02:00
parent 09f4d8d360
commit ab3ce4eab9
No known key found for this signature in database
GPG Key ID: EDD105663B707C62
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ void unravel_multipart_mail(struct email_t* mail){
continue;
}
struct email_t *submail = mail_from_text((char*)begin_pointer,
end_pointer - begin_pointer, mail);
end_pointer - begin_pointer + 1, mail);
mail->submes = realloc(mail->submes, ++mail->submes_cnt *
(sizeof(struct email_t)));
mail->submes[mail->submes_cnt - 1] = submail;