From: Ralph Corderoy Date: Sun, 14 May 2017 11:08:06 +0000 (+0100) Subject: sbr/fmt_rfc2047.c: Simplify test for /^=\?./. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/ab554144a135978aa7532b4a598599425332033f?hp=e9bab734900d62af2bf2fc873dd480e7503335b9 sbr/fmt_rfc2047.c: Simplify test for /^=\?./. --- 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 */