diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2000-08-30 05:31:58 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2000-08-30 05:31:58 +0000 |
commit | e5f349ca10c837c81297a1513395dc956d505c3a (patch) | |
tree | 70e4a0afe2f4cacfa303200bbe1cfdb92756cdd1 /chinese/mutt/files/patch-parse.c | |
parent | Add a missing ')' so this port actually installs again. (diff) |
Make this a proper satellite port.
Approved by: maintainer
Diffstat (limited to 'chinese/mutt/files/patch-parse.c')
-rw-r--r-- | chinese/mutt/files/patch-parse.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chinese/mutt/files/patch-parse.c b/chinese/mutt/files/patch-parse.c new file mode 100644 index 000000000000..f2545cc43cb7 --- /dev/null +++ b/chinese/mutt/files/patch-parse.c @@ -0,0 +1,15 @@ +--- parse.c.orig Sat Apr 22 16:49:29 2000 ++++ parse.c Sat Aug 5 14:25:02 2000 +@@ -407,10 +407,11 @@ + else if (!mutt_strcasecmp ("description", line + 8)) + { + mutt_str_replace (&p->description, c); +- rfc2047_decode (p->description, p->description, mutt_strlen (p->description) + 1); + } + } + } ++ if (p->description) rfc2047_decode (p->description, p->description, mutt_strlen (p->description) + 1); ++ if (p->filename) rfc2047_decode (p->filename, p->filename, mutt_strlen (p->filename) + 1); + p->offset = ftell (fp); /* Mark the start of the real data */ + if (p->type == TYPETEXT && !p->subtype) + p->subtype = safe_strdup ("plain"); |