From: Thomas Roessler Date: Thu, 17 May 2001 04:16:02 +0000 (+0000) Subject: Fix multibyte encodings with quoted-printable. X-Git-Tag: mutt-1-3-19-rel~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38f3b4ff4ae0b4e8deccbe53b7a7fe5ff33136ba;p=mutt Fix multibyte encodings with quoted-printable. (patch-1.3.18.tt.decode_quoted.1) From TAKIZAWA Takashi . --- diff --git a/handler.c b/handler.c index 33de4e93..c41e50b1 100644 --- a/handler.c +++ b/handler.c @@ -236,6 +236,7 @@ void mutt_decode_quoted (STATE *s, long len, int istext, iconv_t cd) char decline[2*STRING]; size_t l = 0; size_t l2; + size_t l3; state_set_prefix(s); @@ -260,7 +261,8 @@ void mutt_decode_quoted (STATE *s, long len, int istext, iconv_t cd) * decode and do character set conversion */ - qp_decode_line (decline + l, line, &l); + qp_decode_line (decline + l, line, &l3); + l += l3; convert_to_state (cd, decline, &l, s); }