From: Joey Schulze Date: Mon, 21 Apr 2008 19:38:41 +0000 (+0000) Subject: Revert former patch X-Git-Tag: upstream_newmail_0-5~4 X-Git-Url: https://git.infodrom.org/?p=infodrom%2Fnewmail;a=commitdiff_plain;h=f22b813ec1c35d05faf3a57613a3b15ec4ab3859;hp=8a35f5c344c47ac5dd70249b8691073126660100 Revert former patch --- diff --git a/rfc2047.c b/rfc2047.c index 0c72863..4afd04a 100644 --- a/rfc2047.c +++ b/rfc2047.c @@ -137,8 +137,8 @@ char *convert_header(char *buf) while ((encstart = strstr (inp, "=?"))) { if (encstart != inp) { - memcpy (outp, inp, encstart-inp); - outp += encstart-inp; + memcpy (outp, inp, encstart-inp-1); + outp += encstart-inp-1; } charset = encstart+2;