diff options
-rw-r--r-- | camel/ChangeLog | 9 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-message-cache.c | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index cda9bb8b36..c85a10811c 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,12 @@ +2001-10-26 Jeffrey Stedfast <fejj@ximian.com> + + * providers/imap/camel-imap-message-cache.c + (camel_imap_message_cache_get): Lets try putting a + camel_stream_reset() here. Logic being that the stream may have + been read from since it was cached and thus our caller may try + reading from it and get no data from it since it is already at the + EOS. This may fix bug #12943. + 2001-10-25 <NotZed@Ximian.com> * camel-search-private.c (utf8_get): Remove the stupid warning diff --git a/camel/providers/imap/camel-imap-message-cache.c b/camel/providers/imap/camel-imap-message-cache.c index ee37f500fd..712eeef8c5 100644 --- a/camel/providers/imap/camel-imap-message-cache.c +++ b/camel/providers/imap/camel-imap-message-cache.c @@ -390,6 +390,7 @@ camel_imap_message_cache_get (CamelImapMessageCache *cache, const char *uid, key = strrchr (path, '/') + 1; stream = g_hash_table_lookup (cache->parts, key); if (stream) { + camel_stream_reset (CAMEL_STREAM (stream)); camel_object_ref (CAMEL_OBJECT (stream)); return stream; } |