mblaze

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

commit 3095d48655b59ecd2f3f162f14a31498ec112937
parent 40b19264c51a8310df0e77e06eec687e6f4c84f0
Author: Christian Neukirchen <chneukirchen@gmail.com>
Date:   Tue,  8 Nov 2016 16:20:44 +0100

mmime: ensure a new token in qp header generation

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

diff --git a/mmime.c b/mmime.c @@ -229,8 +229,8 @@ print_header(char *line) { linelen = 1; } if (highbit || s[0] == ' ') { - printf("=?UTF-8?Q?"); - linelen += 13; + printf(" =?UTF-8?Q?"); + linelen += 14; linelen += gen_qp((uint8_t *)s, e-s, 999, 1); printf("?="); prevq = 1;