mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit d138866fd634ba8e030403c496e06a5ccc33ba85
parent 927f454e0fa82b4192eee9557abbbaaaa9d0ac97
Author: Christian Neukirchen <chneukirchen@gmail.com>
Date:   Tue,  2 Aug 2016 16:51:17 +0200

mmime: line length must be <=78

Diffstat:
mmime.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mmime.c b/mmime.c @@ -146,7 +146,7 @@ int gen_file(char *file, char *ct) printf("Content-Disposition: attachment; filename=\"%s\"\n", basenam(file)); if (bitlow == 0 && bithigh == 0 && - maxlinelen <= 72 && content[st.st_size-1] == '\n') { + maxlinelen <= 78 && content[st.st_size-1] == '\n') { if (!ct) ct = "text/plain"; printf("Content-Type: %s\n", ct); @@ -356,7 +356,7 @@ check() l = c; } - if (bitlow == 0 && bithigh == 0 && maxlinelen <= 72 && l == '\n') + if (bitlow == 0 && bithigh == 0 && maxlinelen <= 78 && l == '\n') return 0; else return 1;