about summary refs log tree commit diff
path: root/rfc2047.c
diff options
context:
space:
mode:
Diffstat (limited to 'rfc2047.c')
-rw-r--r--rfc2047.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rfc2047.c b/rfc2047.c
index 63c4468..8462d25 100644
--- 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];