diff options
author | Dan Winship <danw@src.gnome.org> | 2000-06-21 10:09:48 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-06-21 10:09:48 +0800 |
commit | 4f20138bfc192d2feff2e913fbc0ff87ca6bd19c (patch) | |
tree | 76c0972dee1278911723b296a1870e9a3922768f /camel/camel-mime-part.c | |
parent | ed11b82023a5501fb05837f63cceff18698691a5 (diff) | |
download | gsoc2013-evolution-4f20138bfc192d2feff2e913fbc0ff87ca6bd19c.tar.gz gsoc2013-evolution-4f20138bfc192d2feff2e913fbc0ff87ca6bd19c.tar.zst gsoc2013-evolution-4f20138bfc192d2feff2e913fbc0ff87ca6bd19c.zip |
flush the filter stream before unreffing it, so it will
* camel-mime-part.c (write_to_stream): flush the filter stream
before unreffing it, so it will camel_mime_filter_complete.
* camel-stream-filter.c (camel_stream_filter_class_init): Fix a
braino so camel_stream_flush works here.
* camel-stream-mem.c (stream_seek): Fix a bug that resulted in
large attachments being silently dropped.
* providers/pop3/camel-pop3-store.c
(camel_pop3_command_get_additional_data): Don't use g_strjoinv
here, since it is O(n^2) on the length of the output string, and
we can do O(n).
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): add a CRLF decoder
after the QP/B64 decoder if it's text.
svn path=/trunk/; revision=3658
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r-- | camel/camel-mime-part.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index 14b8106314..ab4c44b82f 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -542,8 +542,10 @@ write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream) #endif count = camel_data_wrapper_write_to_stream (content, stream); - if (filter_stream) + if (filter_stream) { + camel_stream_flush((CamelStream *)filter_stream); gtk_object_unref((GtkObject *)filter_stream); + } if (count == -1) return -1; total += count; |