From: Philipp Takacs Date: Sat, 23 Apr 2016 18:50:43 +0000 (+0200) Subject: check for linecap and trailing space in mhbuild for text/plain X-Git-Tag: mmh-0.3~35 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=f721c7dba14ce0ed5042b8d212669014952aa324;p=mmh check for linecap and trailing space in mhbuild for text/plain without this a mail with too long lines can be created, or trailing space is removed by mhsign. --- diff --git a/uip/mhbuild.c b/uip/mhbuild.c index fe3e946..ba4428f 100644 --- a/uip/mhbuild.c +++ b/uip/mhbuild.c @@ -1276,13 +1276,8 @@ scan_content(CT ct) case CT_TEXT: check8bit = 1; checkboundary = 1; - if (ct->c_subtype == TEXT_PLAIN) { - checklinelen = 0; - checklinespace = 0; - } else { - checklinelen = 1; - checklinespace = 1; - } + checklinelen = 1; + checklinespace = 1; break; case CT_MESSAGE: