aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-11-08 16:20:44 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-11-08 16:20:44 +0100
commit3095d48655b59ecd2f3f162f14a31498ec112937 (patch)
treecd658147597ca9ce7d2fa2549102dffafeff2259
parent40b19264c51a8310df0e77e06eec687e6f4c84f0 (diff)
downloadmblaze-3095d48655b59ecd2f3f162f14a31498ec112937.tar.gz
mmime: ensure a new token in qp header generation
-rw-r--r--mmime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mmime.c b/mmime.c
index 9fa5fcd..84064b9 100644
--- 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;