]> granicus.if.org Git - mutt/commitdiff
Properly tag quoted-printable encoded RFC 2047 strings with
authorThomas Roessler <roessler@does-not-exist.org>
Fri, 3 Dec 1999 12:21:00 +0000 (12:21 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Fri, 3 Dec 1999 12:21:00 +0000 (12:21 +0000)
$send_charset, not with $charset.

rfc2047.c

index 9c99422c3d92538ac91d11308254871386aec81d..959a4fea246def6a305fb59cb1031d4800047d58 100644 (file)
--- a/rfc2047.c
+++ b/rfc2047.c
@@ -44,7 +44,7 @@ static void q_encode_string (char *d,
   if(hibit)
   {
     snprintf (charset, sizeof (charset), "=?%s?Q?",
-             mutt_strcasecmp ("us-ascii", Charset) == 0 ? "unknown-8bit" : NONULL(Charset));
+             mutt_strcasecmp ("us-ascii", send_charset) == 0 ? "unknown-8bit" : NONULL(send_charset));
   }
   else
     strfcpy(charset, "=?us-ascii?Q?", sizeof(charset));