Again, prevent failing myself...
Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
parent
09f4d8d360
commit
ab3ce4eab9
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ void unravel_multipart_mail(struct email_t* mail){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
struct email_t *submail = mail_from_text((char*)begin_pointer,
|
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 *
|
mail->submes = realloc(mail->submes, ++mail->submes_cnt *
|
||||||
(sizeof(struct email_t)));
|
(sizeof(struct email_t)));
|
||||||
mail->submes[mail->submes_cnt - 1] = submail;
|
mail->submes[mail->submes_cnt - 1] = submail;
|
||||||
|
|
Loading…
Reference in a new issue