diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-28 02:47:46 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-28 02:47:46 +0800 |
commit | 8a22b04d886149645c84e5f0fdb8795308f3d62f (patch) | |
tree | e7bde6c9a219a73cfb54e58ccef9042a6dc84f09 | |
parent | 1193028abda12bed144d0e87087abeb4afe64aed (diff) | |
download | gsoc2013-evolution-8a22b04d886149645c84e5f0fdb8795308f3d62f.tar gsoc2013-evolution-8a22b04d886149645c84e5f0fdb8795308f3d62f.tar.gz gsoc2013-evolution-8a22b04d886149645c84e5f0fdb8795308f3d62f.tar.bz2 gsoc2013-evolution-8a22b04d886149645c84e5f0fdb8795308f3d62f.tar.lz gsoc2013-evolution-8a22b04d886149645c84e5f0fdb8795308f3d62f.tar.xz gsoc2013-evolution-8a22b04d886149645c84e5f0fdb8795308f3d62f.tar.zst gsoc2013-evolution-8a22b04d886149645c84e5f0fdb8795308f3d62f.zip |
Don't close the filter stream when done with it (this causes the source
2000-06-27 Christopher James Lahey <clahey@helixcode.com>
* 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
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 2 |
2 files changed, 7 insertions, 1 deletions
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 <clahey@helixcode.com> + + * 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 <zucchi@zedzone.mmc.com.au> * 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 */ |