summaryrefslogtreecommitdiff
path: root/pith/send.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2018-12-16 13:42:37 -0700
committerEduardo Chappa <chappa@washington.edu>2018-12-16 13:42:37 -0700
commitea4d5cd8e41c3241d8bebe4f7bbb2b7603e05283 (patch)
tree79b212bcf956fd6c54e1f4f0cbee9cdbe1d1d2f5 /pith/send.h
parentc7e14ba2c2ac2a858539dcb4f077d8fb03988c06 (diff)
downloadalpine-ea4d5cd8e41c3241d8bebe4f7bbb2b7603e05283.tar.xz
* Bug: When a message is multipart, and the first part is flowed text,
then forwarding the message will set the first part to be flowed, and sent that way even when the option Do Not Send Flowed Text is enabled. To avoid this issue, we remove any flowed text parameters from the body of the message, so we create a "remove_parameter" function, and then we set the flowed parameter only when the user requested. Reported by Holger Trapp.
Diffstat (limited to 'pith/send.h')
-rw-r--r--pith/send.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pith/send.h b/pith/send.h
index ef06c408..fe02d5bc 100644
--- a/pith/send.h
+++ b/pith/send.h
@@ -238,6 +238,7 @@ BODY *first_text_8bit(BODY *);
ADDRESS *generate_from(void);
void set_mime_type_by_grope(BODY *);
void set_charset_possibly_to_ascii(BODY *, char *);
+void remove_parameter(PARAMETER **param, char *);
void set_parameter(PARAMETER **, char *, char *);
void pine_encode_body(BODY *);
int pine_header_line(char *, METAENV *, char *, soutr_t, TCPSTREAM *, int, int);