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/acme/mail | |
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/acme/mail')
-rw-r--r-- | src/cmd/acme/mail/mesg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/acme/mail/mesg.c b/src/cmd/acme/mail/mesg.c index 304714cd..d21bfed1 100644 --- a/src/cmd/acme/mail/mesg.c +++ b/src/cmd/acme/mail/mesg.c @@ -161,6 +161,9 @@ loadinfo(Message *m, char *dir) }else if(strcmp(s, "digest") == 0){ free(m->digest); m->digest = estrdup(t); + }else if(strcmp(s, "filename") == 0){ + free(m->filename); + m->filename = estrdup(t); } free(s); } |