Fix debug output
Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
parent
be37de038d
commit
67dedfd5b1
1 changed files with 2 additions and 2 deletions
|
@ -407,7 +407,7 @@ int replace_files(struct email_t* mail, const char* dirname, bool* created){
|
||||||
char* chosen_filename = NULL;
|
char* chosen_filename = NULL;
|
||||||
if(mail->base64_encoded){
|
if(mail->base64_encoded){
|
||||||
if(base64_decode_file(dirname, mail, &chosen_filename) < 0){
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
@ -415,7 +415,7 @@ int replace_files(struct email_t* mail, const char* dirname, bool* created){
|
||||||
(mail->message_length - mail->body_offset),
|
(mail->message_length - mail->body_offset),
|
||||||
mail->file_info.name, &chosen_filename) < 0){
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue