aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-06-13 06:32:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-06-13 06:32:54 +0800
commitd6291ddc1fcf2537953b54c674f96ce651a16cd3 (patch)
tree1df8dff1c715655384ae88e5b6a589ff5d5e3df3 /camel/camel-mime-part.c
parent94eda6b11d51fefeff3761a34ac9e1cdd19371ab (diff)
downloadgsoc2013-evolution-d6291ddc1fcf2537953b54c674f96ce651a16cd3.tar.gz
gsoc2013-evolution-d6291ddc1fcf2537953b54c674f96ce651a16cd3.tar.zst
gsoc2013-evolution-d6291ddc1fcf2537953b54c674f96ce651a16cd3.zip
Deprecated.
2000-06-12 Jeffrey Stedfast <fejj@helixcode.com> * camel-mime-filter-smtp.c: Deprecated. * providers/smtp/camel-smtp-transport.c (smtp_data): Updated to use camel-mime-filter-crlf with my 'dot' extension in place of camel-mime-filter-smtp * camel-mime-part.c (write_to_stream): Updated to reflect changes made to camel-mime-filter-crlf.c * camel-mime-filter-crlf.c (filter): Modified to be able to encode/decode dots ("\n.\n"<->"\n..\n"). Also fixed the decoder so that it should no longer get caught in an infinite loop. svn path=/trunk/; revision=3536
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r--camel/camel-mime-part.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index d19cace9c0..14b8106314 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -530,7 +530,8 @@ write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
if (filter) {
filter_stream = camel_stream_filter_new_with_stream(stream);
if (!strcasecmp(mp->content_type->type, "text")) {
- CamelMimeFilter *crlf = camel_mime_filter_crlf_new(CAMEL_MIME_FILTER_CRLF_ENCODE);
+ CamelMimeFilter *crlf = camel_mime_filter_crlf_new(CAMEL_MIME_FILTER_CRLF_ENCODE,
+ CAMEL_MIME_FILTER_CRLF_MODE_CRLF_ONLY);
camel_stream_filter_add(filter_stream, crlf);
gtk_object_unref((GtkObject *)crlf);
}