Don't close the filter stream when done with it (this causes the source
authorChristopher James Lahey <clahey@helixcode.com>
Tue, 27 Jun 2000 18:47:46 +0000 (18:47 +0000)
committerChris Lahey <clahey@src.gnome.org>
Tue, 27 Jun 2000 18:47:46 +0000 (18:47 +0000)
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.

camel/ChangeLog
camel/providers/smtp/camel-smtp-transport.c

index a413d47..e8f3803 100644 (file)
@@ -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
index ed5f041..68adf24 100644 (file)
@@ -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 */