plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit eb44dca240c73400bbc252b2cebc6a0ee45e8287
parent 2d2146af83e2f3593335bfc8a03d466cd79f5e31
Author: rsc <devnull@localhost>
Date:   Mon, 25 Jun 2007 02:42:09 +0000

mailfs: fix subject formatting

Diffstat:
Msrc/cmd/upas/nfs/fs.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/upas/nfs/fs.c b/src/cmd/upas/nfs/fs.c @@ -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("");