mblaze

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

commit f726c2127678c3febf82ee4c9574a035ee8404e8
parent 5b6d2ff29fc0cf6e837c7136a45176af4b067a5c
Author: Leah Neukirchen <leah@vuxu.org>
Date:   Mon, 12 Jun 2017 14:57:33 +0200

rfc2231: blaze822_mime2231_parameter: decode first argument if we jumped inside the loop

Diffstat:
rfc2231.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rfc2231.c b/rfc2231.c @@ -45,7 +45,7 @@ blaze822_mime2231_parameter(char *s, char *name, if (blaze822_mime_parameter(s, namenum, &sbuf, &ebuf)) { found_extended: // decode extended - if (i == 0) { // extended-initial-value + if (i == 0 || i == 100) { // extended-initial-value char *encstart = sbuf; sbuf = strchr(sbuf, '\''); if (!sbuf)