Corrected debug output
Signed-off-by: Tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
parent
ed1801c804
commit
f280420c2f
1 changed files with 1 additions and 0 deletions
|
@ -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! */
|
||||||
|
|
Loading…
Reference in a new issue