projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdd3e72
)
check for linecap and trailing space in mhbuild for text/plain
author
Philipp Takacs
<philipp@bureaucracy.de>
Sat, 23 Apr 2016 18:50:43 +0000
(20:50 +0200)
committer
Philipp Takacs
<philipp@bureaucracy.de>
Sun, 24 Apr 2016 10:24:21 +0000
(12:24 +0200)
without this a mail with too long lines can be created, or
trailing space is removed by mhsign.
uip/mhbuild.c
patch
|
blob
|
history
diff --git
a/uip/mhbuild.c
b/uip/mhbuild.c
index
fe3e946
..
ba4428f
100644
(file)
--- 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: