mblaze

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

commit a1ed8d7b6c1d140351aa9781e7d41655a38e6681
parent 12eba9432702800cf1a17b71198305cd988c93f9
Author: Christian Neukirchen <chneukirchen@gmail.com>
Date:   Fri, 29 Jul 2016 13:58:11 +0200

rfc2047: blaze822_decode_qp: skip =CRLF

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

diff --git a/rfc2047.c b/rfc2047.c @@ -34,6 +34,8 @@ blaze822_decode_qp(char *start, char *stop, char **deco, size_t *decleno) while (s < stop) { if (*s == '=' && s[1] == '\n') { s += 2; + } else if (*s == '=' && s[1] == '\r' && s[2] == '\n') { + s += 3; } else if (*s == '=' && s+2 < stop) { unsigned char c1 = s[1]; unsigned char c2 = s[2];