aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-06-25 02:42:09 +0000
committerrsc <devnull@localhost>2007-06-25 02:42:09 +0000
commiteb44dca240c73400bbc252b2cebc6a0ee45e8287 (patch)
treee5b4271d758d8f3bca1f52d5ca1e63cd9f654046 /src/cmd/upas
parent2d2146af83e2f3593335bfc8a03d466cd79f5e31 (diff)
downloadplan9port-eb44dca240c73400bbc252b2cebc6a0ee45e8287.tar.gz
plan9port-eb44dca240c73400bbc252b2cebc6a0ee45e8287.tar.bz2
plan9port-eb44dca240c73400bbc252b2cebc6a0ee45e8287.zip
mailfs: fix subject formatting
Diffstat (limited to 'src/cmd/upas')
-rw-r--r--src/cmd/upas/nfs/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/upas/nfs/fs.c b/src/cmd/upas/nfs/fs.c
index 42ff2656..fd44c964 100644
--- 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("");