mailfs: fix subject formatting

This commit is contained in:
rsc 2007-06-25 02:42:09 +00:00
parent 2d2146af83
commit eb44dca240

View file

@ -630,7 +630,7 @@ filedata(int type, Box *box, Msg *msg, Part *part, char **pp, int *len, int *fre
if(part->hdr->from==nil
|| (part->hdr->replyto && strcmp(part->hdr->replyto, part->hdr->from) != 0))
addaddrs(&fmt, "Reply-To", part->hdr->replyto);
addaddrs(&fmt, "Subject", part->hdr->subject);
fmtprint(&fmt, "Subject: %s\n", part->hdr->subject);
s = fmtstrflush(&fmt);
if(s == nil)
s = estrdup("");