tmailfs: fix subject formatting - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit eb44dca240c73400bbc252b2cebc6a0ee45e8287
(DIR) parent 2d2146af83e2f3593335bfc8a03d466cd79f5e31
(HTM) Author: rsc <devnull@localhost>
Date: Mon, 25 Jun 2007 02:42:09 +0000
mailfs: fix subject formatting
Diffstat:
M src/cmd/upas/nfs/fs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/upas/nfs/fs.c b/src/cmd/upas/nfs/fs.c
t@@ -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("");