aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>2000-02-17 02:04:40 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-17 02:04:40 +0800
commit7f04720b1efe9baea8770813e85cb17cd600d077 (patch)
treea4749e3ecc075439dddf3928584a88b8d11d3e76 /camel/camel-mime-part.c
parentd2239da3e7758ed99263b6623ab258561e10994d (diff)
downloadgsoc2013-evolution-7f04720b1efe9baea8770813e85cb17cd600d077.tar.gz
gsoc2013-evolution-7f04720b1efe9baea8770813e85cb17cd600d077.tar.zst
gsoc2013-evolution-7f04720b1efe9baea8770813e85cb17cd600d077.zip
don't seek the begining of the substream. (_eos): fix eos condition
2000-02-16 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-seekable-substream.c (_set_bounds): don't seek the begining of the substream. (_eos): fix eos condition testing. (_finalize): unref parent stream (_init_with_seekable_stream_and_bounds): ref parent stream * camel/gstring-util.c (g_string_equal_for_hash): (g_string_equal_for_glist): return type is int. * camel/camel.h: * camel/camel.c (camel_init): use (void) instead of (). A lot of other small changes to make the set_input_stream scheme work. It actually works. svn path=/trunk/; revision=1798
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r--camel/camel-mime-part.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index 0328ac8115..2e52f8312f 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -818,7 +818,7 @@ _set_input_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
guint32 content_stream_inf_bound;
- CAMEL_LOG_FULL_DEBUG ("CamelMimePart::construct_from_stream entering\n");
+ CAMEL_LOG_FULL_DEBUG ("CamelMimePart::set_input_stream entering\n");
g_assert (CAMEL_IS_SEEKABLE_STREAM (stream));
seekable_stream = CAMEL_SEEKABLE_STREAM (stream);
@@ -831,6 +831,7 @@ _set_input_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
camel_seekable_substream_new_with_seekable_stream_and_bounds (seekable_stream,
content_stream_inf_bound,
-1);
+ CAMEL_LOG_FULL_DEBUG ("CamelMimePart::set_input_stream leaving\n");
}