From 4f20138bfc192d2feff2e913fbc0ff87ca6bd19c Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 21 Jun 2000 02:09:48 +0000 Subject: 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 --- camel/camel-stream-filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/camel-stream-filter.c') diff --git a/camel/camel-stream-filter.c b/camel/camel-stream-filter.c index 547796c660..9051bdb64f 100644 --- a/camel/camel-stream-filter.c +++ b/camel/camel-stream-filter.c @@ -120,7 +120,7 @@ camel_stream_filter_class_init (CamelStreamFilterClass *klass) camel_stream_class->read = do_read; camel_stream_class->write = do_write; camel_stream_class->flush = do_flush; - camel_stream_class->flush = do_close; + camel_stream_class->close = do_close; camel_stream_class->eos = do_eos; camel_stream_class->reset = do_reset; -- cgit v1.2.3