diff options
author | rsc <devnull@localhost> | 2006-06-30 04:53:51 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-06-30 04:53:51 +0000 |
commit | 141d60097223f56e82ae3c45c90d6453cdd11cba (patch) | |
tree | 7563478da98b19056641a2b42e98d5fd7ec26995 /src/cmd/upas/nfs/fs.c | |
parent | e6c443621bbcc8929f4c08648bfd1ab6014b66b9 (diff) | |
download | plan9port-141d60097223f56e82ae3c45c90d6453cdd11cba.tar.gz plan9port-141d60097223f56e82ae3c45c90d6453cdd11cba.tar.bz2 plan9port-141d60097223f56e82ae3c45c90d6453cdd11cba.zip |
use file names for attachments
Diffstat (limited to 'src/cmd/upas/nfs/fs.c')
-rw-r--r-- | src/cmd/upas/nfs/fs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cmd/upas/nfs/fs.c b/src/cmd/upas/nfs/fs.c index 71d33ec1..228b53f6 100644 --- a/src/cmd/upas/nfs/fs.c +++ b/src/cmd/upas/nfs/fs.c @@ -604,9 +604,8 @@ filedata(int type, Box *box, Msg *msg, Part *part, char **pp, int *len, int *fre fmtprint(&fmt, "type %s\n", part->type); if(part->lines) fmtprint(&fmt, "lines %d\n", part->lines); - /* fmtprint(&fmt, "disposition %s\", ""); */ - /* fmtprint(&fmt, "filename %s\n", ""); */ - /* fmtprint(&fmt, "digest %s\n", ""); */ + if(part->filename) + fmtprint(&fmt, "filename %s\n", part->filename); s = fmtstrflush(&fmt); if(s == nil) s = estrdup(""); |