From 4eb2a82d5cdffafd01aaeac0b917ccc3b2ab0541 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 18 Oct 2001 23:15:34 +0000 Subject: Flush the stream here, not sure it really matters but it might (hopefully) 2001-10-18 Jeffrey Stedfast * 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. svn path=/trunk/; revision=13779 --- camel/providers/imap/camel-imap-message-cache.c | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/providers/imap') 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); -- cgit