Flush the stream here, not sure it really matters but it might (hopefully)
authorJeffrey Stedfast <fejj@ximian.com>
Thu, 18 Oct 2001 23:15:34 +0000 (23:15 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Thu, 18 Oct 2001 23:15:34 +0000 (23:15 +0000)
2001-10-18  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap/camel-imap-message-cache.c (insert_finish): Flush
the stream here, not sure it really matters but it might
(hopefully) fix bug #12943.

camel/ChangeLog
camel/providers/imap/camel-imap-message-cache.c

index f582a91..f6ed0d6 100644 (file)
@@ -1,5 +1,9 @@
 2001-10-18  Jeffrey Stedfast  <fejj@ximian.com>
 
+       * providers/imap/camel-imap-message-cache.c (insert_finish): Flush
+       the stream here, not sure it really matters but it might
+       (hopefully) fix bug #12943.
+
        * camel-pgp-context.c (crypto_exec_with_passwd): Make
        user-cancellable.
 
index 47e40a2..ee37f50 100644 (file)
@@ -262,6 +262,7 @@ static CamelStream *
 insert_finish (CamelImapMessageCache *cache, const char *uid, char *path,
               char *key, CamelStream *stream)
 {
+       camel_stream_flush (stream);
        camel_stream_reset (stream);
        cache_put (cache, uid, key, stream);
        g_free (path);