From ab554144a135978aa7532b4a598599425332033f Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sun, 14 May 2017 12:08:06 +0100 Subject: [PATCH] sbr/fmt_rfc2047.c: Simplify test for /^=\?./. --- sbr/fmt_rfc2047.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbr/fmt_rfc2047.c b/sbr/fmt_rfc2047.c index 2f2c3c4f..bd703b43 100644 --- a/sbr/fmt_rfc2047.c +++ b/sbr/fmt_rfc2047.c @@ -126,7 +126,7 @@ decode_rfc2047 (char *str, char *dst, size_t dstlen) equals_pending = 1; /* we have a '=' pending */ /* Check for initial =? */ - if (*p == '=' && p[1] && p[1] == '?' && p[2]) { + if (*p == '=' && p[1] == '?' && p[2]) { startofmime = p + 2; /* Scan ahead for the next '?' character */ -- 2.56.0