Corrected offset
Signed-off-by: Tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
parent
2648be10c2
commit
ad493bf2ec
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ int remove_mail(struct email_t* mail){
|
|||
end = followup->message - 1;
|
||||
}
|
||||
|
||||
size_t remove_len = mail->message - end;
|
||||
size_t remove_len = end - mail->message;
|
||||
struct email_t *root = get_root_mail(mail);
|
||||
if(root == NULL){
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue