1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/mail/pine4/files/patch-ai

38 lines
1.3 KiB
Plaintext
Raw Normal View History

1997-03-26 02:12:28 +00:00
*** pine/send.c.orig Tue Feb 25 00:57:38 1997
--- pine/send.c Wed Mar 26 04:27:59 1997
***************
1997-03-26 02:12:28 +00:00
*** 6113,6119 ****
switch (body->encoding) { /* all else needs filtering */
case ENC8BIT: /* encode 8BIT into QUOTED-PRINTABLE */
! gf_link_filter(gf_8bit_qp);
break;
case ENCBINARY: /* encode binary into BASE64 */
1997-03-26 02:12:28 +00:00
--- 6113,6120 ----
switch (body->encoding) { /* all else needs filtering */
case ENC8BIT: /* encode 8BIT into QUOTED-PRINTABLE */
! if(F_OFF(F_ENABLE_8BIT, ps_global))
! gf_link_filter(gf_8bit_qp);
break;
case ENCBINARY: /* encode binary into BASE64 */
***************
1997-03-26 02:12:28 +00:00
*** 6172,6178 ****
sprintf (*dst += strlen (*dst), "Content-Transfer-Encoding: %s\015\012",
body_encodings[(body->encoding == ENCBINARY)
? ENCBASE64
! : (body->encoding == ENC8BIT)
? ENCQUOTEDPRINTABLE
: (body->encoding <= ENCMAX)
? body->encoding : ENCOTHER]);
1997-03-26 02:12:28 +00:00
--- 6173,6179 ----
sprintf (*dst += strlen (*dst), "Content-Transfer-Encoding: %s\015\012",
body_encodings[(body->encoding == ENCBINARY)
? ENCBASE64
! : (body->encoding == ENC8BIT && F_OFF(F_ENABLE_8BIT, ps_global))
? ENCQUOTEDPRINTABLE
: (body->encoding <= ENCMAX)
? body->encoding : ENCOTHER]);