mailfs: fix subject formatting
This commit is contained in:
parent
2d2146af83
commit
eb44dca240
1 changed files with 1 additions and 1 deletions
|
|
@ -630,7 +630,7 @@ filedata(int type, Box *box, Msg *msg, Part *part, char **pp, int *len, int *fre
|
||||||
if(part->hdr->from==nil
|
if(part->hdr->from==nil
|
||||||
|| (part->hdr->replyto && strcmp(part->hdr->replyto, part->hdr->from) != 0))
|
|| (part->hdr->replyto && strcmp(part->hdr->replyto, part->hdr->from) != 0))
|
||||||
addaddrs(&fmt, "Reply-To", part->hdr->replyto);
|
addaddrs(&fmt, "Reply-To", part->hdr->replyto);
|
||||||
addaddrs(&fmt, "Subject", part->hdr->subject);
|
fmtprint(&fmt, "Subject: %s\n", part->hdr->subject);
|
||||||
s = fmtstrflush(&fmt);
|
s = fmtstrflush(&fmt);
|
||||||
if(s == nil)
|
if(s == nil)
|
||||||
s = estrdup("");
|
s = estrdup("");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue