summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2024-01-21 19:10:58 -0700
committerEduardo Chappa <chappa@washington.edu>2024-01-21 19:10:58 -0700
commit9e223693bd1bb9d6ede1d05f62cc1cf009c23c62 (patch)
treeb1c25da96afd8cb570c6b74a422134c837522bb0 /pith
parenta55202787df1d5cfd3e37cb4c021422ee4aa9530 (diff)
downloadalpine-9e223693bd1bb9d6ede1d05f62cc1cf009c23c62.tar.xz
* Alpine does not decode 8-bit characters for a message that has been
postponed if these appear in the sent-mail folder. Reported by Daniel Byström.
Diffstat (limited to 'pith')
-rw-r--r--pith/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/send.c b/pith/send.c
index d2bbdf43..c8f7f123 100644
--- a/pith/send.c
+++ b/pith/send.c
@@ -503,7 +503,7 @@ redraft_work(MAILSTREAM **streamp, long int cont_msg, ENVELOPE **outgoing,
}
if(fcc) /* fcc: special case... */
- *fcc = values[INDEX_FCC] ? values[INDEX_FCC] : cpystr("");
+ *fcc = values[INDEX_FCC] ? cpystr(rfc1522_decode_to_utf8(tmp_20k_buf, SIZEOF_20KBUF, values[INDEX_FCC])) : cpystr("");
else if(values[INDEX_FCC])
fs_give((void **) &values[INDEX_FCC]);