From 8a22b04d886149645c84e5f0fdb8795308f3d62f Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 27 Jun 2000 18:47:46 +0000 Subject: Don't close the filter stream when done with it (this causes the source 2000-06-27 Christopher James Lahey * providers/smtp/camel-smtp-transport.c: Don't close the filter stream when done with it (this causes the source stream to close); Instead, just flush it when done. svn path=/trunk/; revision=3763 --- camel/ChangeLog | 6 ++++++ camel/providers/smtp/camel-smtp-transport.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index a413d47deb..e8f380361c 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2000-06-27 Christopher James Lahey + + * providers/smtp/camel-smtp-transport.c: Don't close the filter + stream when done with it (this causes the source stream to close); + Instead, just flush it when done. + 2000-06-27 Michael Zucchi * camel-folder-search.c (search_header_contains): Make header diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index ed5f0416b3..68adf24178 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -671,7 +671,7 @@ smtp_data (CamelSmtpTransport *transport, CamelMedium *message, CamelException * } camel_stream_filter_remove (filtered_stream, id); - camel_stream_close (CAMEL_STREAM(filtered_stream)); + camel_stream_flush (CAMEL_STREAM(filtered_stream)); gtk_object_unref (GTK_OBJECT(filtered_stream)); /* terminate the message body */ -- cgit v1.2.3