aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/providers/imap/camel-imap-message-cache.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index f582a91fc9..f6ed0d6133 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -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.
diff --git a/camel/providers/imap/camel-imap-message-cache.c b/camel/providers/imap/camel-imap-message-cache.c
index 47e40a2ad1..ee37f500fd 100644
--- a/camel/providers/imap/camel-imap-message-cache.c
+++ b/camel/providers/imap/camel-imap-message-cache.c
@@ -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);