Corrected debug output

Signed-off-by: Tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
Tyrolyean 2020-04-28 19:15:31 +02:00
parent ed1801c804
commit f280420c2f
No known key found for this signature in database
GPG key ID: 81EC9BAC5E9667C6

View file

@ -79,6 +79,7 @@ char* attach_files(char* message, size_t len){
printf("Received message header: [%.*s]\n", email.header_len, printf("Received message header: [%.*s]\n", email.header_len,
email.message); email.message);
printf("Received message body: [%.*s]\n", printf("Received message body: [%.*s]\n",
email.message_length-email.body_offset
email.message + email.body_offset); email.message + email.body_offset);
/* Now we have a null terminated body which we can edit! */ /* Now we have a null terminated body which we can edit! */