Fix debug output

Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
tyrolyean 2020-05-01 02:13:48 +02:00
parent be37de038d
commit 67dedfd5b1
No known key found for this signature in database
GPG Key ID: EDD105663B707C62
1 changed files with 2 additions and 2 deletions

View File

@ -407,7 +407,7 @@ int replace_files(struct email_t* mail, const char* dirname, bool* created){
char* chosen_filename = NULL;
if(mail->base64_encoded){
if(base64_decode_file(dirname, mail, &chosen_filename) < 0){
fprintf(stderr, "Failed to decode base64 file\n!");
fprintf(stderr, "Failed to decode base64 file!\n");
return -1;
}
}else{
@ -415,7 +415,7 @@ int replace_files(struct email_t* mail, const char* dirname, bool* created){
(mail->message_length - mail->body_offset),
mail->file_info.name, &chosen_filename) < 0){
fprintf(stderr, "Failed to decode base64 file\n!");
fprintf(stderr, "Failed to decode regular file!\n");
return -1;
}