From: Christopher James Lahey Date: Tue, 27 Jun 2000 18:47:46 +0000 (+0000) Subject: Don't close the filter stream when done with it (this causes the source X-Git-Tag: upstream/3.7.4~11653 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2924f750b124fa1e17ed75e8b3f7b9d0064d8015;p=platform%2Fupstream%2Fevolution-data-server.git 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. --- diff --git a/camel/ChangeLog b/camel/ChangeLog index a413d47..e8f3803 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 ed5f041..68adf24 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 */