summaryrefslogtreecommitdiff
path: root/pith/detach.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-03-25 20:27:02 -0600
committerEduardo Chappa <chappa@washington.edu>2015-03-25 20:27:02 -0600
commit3a9d4c01e5135f6d5b2aecdaf698d1d960387df9 (patch)
tree01b45596b7334d2f9d1298f099ca4f037f2e69b7 /pith/detach.c
parent955a543f9ac3bb29b88a42d0520ac68324c2f6fa (diff)
downloadalpine-3a9d4c01e5135f6d5b2aecdaf698d1d960387df9.tar.xz
* new version 2.20.4
* If the charset of a message can not be determined, use the value set in the "Unknown Character Set" option. * Resizing setup screen will redraw screen. * Unix Alpine only. Experimental: If Alpine/Pico finds a UCS4 code in the width ambiguous zone, it will use other means to determine the width, such as call wcwidth.
Diffstat (limited to 'pith/detach.c')
-rw-r--r--pith/detach.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pith/detach.c b/pith/detach.c
index 2b61dfd6..0e0a07be 100644
--- a/pith/detach.c
+++ b/pith/detach.c
@@ -209,7 +209,9 @@ detach(MAILSTREAM *stream, /* c-client stream to use */
* If the charset is unlabeled or unknown replace it
* with the user's configured unknown charset.
*/
- if(!charset || !strucmp(charset, UNKNOWN_CHARSET) || !strucmp(charset, "us-ascii")){
+ if(!charset || !strucmp(charset, UNKNOWN_CHARSET)
+ || !strucmp(charset, "MISSING_PARAMETER_VALUE")
+ || !strucmp(charset, "us-ascii")){
if(charset)
fs_give((void **) &charset);