diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-02-04 19:12:52 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-02-04 19:12:52 +0000 |
commit | ab0f48bddf630e99ffaf91eae43a082085ffeec5 (patch) | |
tree | 5f7ff0f852224a5faef8ff62376ae322ffff0bbd /mail/pine4/files/patch-ai | |
parent | Disable DEFAULT_DEBUG value (diff) |
When enable_8bit turned on, use it not only for smtp connection
but for external programs too
Diffstat (limited to '')
-rw-r--r-- | mail/pine4/files/patch-ai | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/mail/pine4/files/patch-ai b/mail/pine4/files/patch-ai new file mode 100644 index 000000000000..7a8f6b72ac07 --- /dev/null +++ b/mail/pine4/files/patch-ai @@ -0,0 +1,37 @@ +*** pine/send.c.old Mon Jul 8 22:10:50 1996 +--- pine/send.c Tue Feb 4 21:47:57 1997 +*************** +*** 6084,6090 **** + + 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 */ +--- 6084,6091 ---- + + 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 */ +*************** +*** 6143,6149 **** + 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]); +--- 6144,6150 ---- + 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]); |