summaryrefslogtreecommitdiff
path: root/pith/detach.c
diff options
context:
space:
mode:
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);