aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-fs.c
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-03-04 06:26:13 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-04 06:26:13 +0800
commit41694524a6b39908c8c7a5e298f252c488416afd (patch)
tree35a04aefd33893af9d83c872919cca2216167a89 /camel/camel-stream-fs.c
parentf073038b91db7859f22c240c82226e4741228a7f (diff)
downloadgsoc2013-evolution-41694524a6b39908c8c7a5e298f252c488416afd.tar.gz
gsoc2013-evolution-41694524a6b39908c8c7a5e298f252c488416afd.tar.zst
gsoc2013-evolution-41694524a6b39908c8c7a5e298f252c488416afd.zip
use set_input_stream instead of construct_from_stream to feed the message
2000-03-03 bertrand <bertrand@helixcode.com> * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): use set_input_stream instead of construct_from_stream to feed the message object. * camel-data-wrapper.c (my_write_to_stream): reset output stream. (my_set_input_stream): unref the previous input stream. use the set_output_stream for default behaviour. (my_set_output_stream): unref previous output stream. * camel-mime-part.c (my_write_content_to_stream): reset content object output stream. mbox provider now also constructs message bodies. I should have looked here first. damn. svn path=/trunk/; revision=2030
Diffstat (limited to 'camel/camel-stream-fs.c')
-rw-r--r--camel/camel-stream-fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-stream-fs.c b/camel/camel-stream-fs.c
index 4455c40b2b..db12a421e0 100644
--- a/camel/camel-stream-fs.c
+++ b/camel/camel-stream-fs.c
@@ -486,12 +486,12 @@ _seek (CamelSeekableStream *stream, gint offset, CamelStreamSeekPolicy policy)
gint real_offset;
CamelStreamFs *stream_fs = CAMEL_STREAM_FS (stream);
-#if 0
+
/* because we don't know what is going to happen, we
set the eof stream to false so that a reread can
occur */
stream_fs->eof = FALSE;
-#endif
+
switch (policy) {
case CAMEL_STREAM_SET:
real_offset = MAX (stream_fs->inf_bound + offset, stream_fs->inf_bound);