aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-19 07:15:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-19 07:15:34 +0800
commit4eb2a82d5cdffafd01aaeac0b917ccc3b2ab0541 (patch)
tree262db1fc96ca79e001cb0a595eec8dd24e7df65f /camel/providers
parent20d53760e9116834a4cabeae0d5d0df507124204 (diff)
downloadgsoc2013-evolution-4eb2a82d5cdffafd01aaeac0b917ccc3b2ab0541.tar.gz
gsoc2013-evolution-4eb2a82d5cdffafd01aaeac0b917ccc3b2ab0541.tar.zst
gsoc2013-evolution-4eb2a82d5cdffafd01aaeac0b917ccc3b2ab0541.zip
Flush the stream here, not sure it really matters but it might (hopefully)
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. svn path=/trunk/; revision=13779
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-message-cache.c1
1 files changed, 1 insertions, 0 deletions
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);