Skip to content

Commit

Permalink
follow-up to b36f925 - add back handling of attachment content name
Browse files Browse the repository at this point in the history
  • Loading branch information
d99kris committed Aug 13, 2023
1 parent b36f925 commit 93aad33
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/body.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,10 @@ void Body::ParseMimeFields(mailmime* p_Mime, std::string& p_Filename, std::strin
{
p_Filename = std::string(fields.fld_disposition_filename);
}
else if (fields.fld_content_name != NULL)
{
p_Filename = std::string(fields.fld_content_name);
}

if (fields.fld_id != NULL)
{
Expand Down
2 changes: 1 addition & 1 deletion src/nmail.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
.TH NMAIL "1" "August 2023" "nmail v4.29" "User Commands"
.TH NMAIL "1" "August 2023" "nmail v4.30" "User Commands"
.SH NAME
nmail \- ncurses mail
.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion src/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "version.h"

#define NMAIL_VERSION "4.29"
#define NMAIL_VERSION "4.30"

std::string Version::GetBuildOs()
{
Expand Down

0 comments on commit 93aad33

Please sign in to comment.