Corrected pointers to body from old style

Signed-off-by: Tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
Tyrolyean 2020-04-28 20:04:21 +02:00
parent 6f16191b31
commit 4e8956f848
No known key found for this signature in database
GPG key ID: 81EC9BAC5E9667C6

View file

@ -111,8 +111,8 @@ void receive_mail(struct mail_recv_t* rec){
rec->in_len = body_len;
char* new_body = attach_files(
rec->input_buffer+rec->body_offs,
body_len);
rec->input_buffer,
rec->in_len);
if(new_body != NULL){
/* Write the replacement */