aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-multipart.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>2000-02-15 22:17:01 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-15 22:17:01 +0800
commita020ef5168bdc283afdf156356075e7fa969c923 (patch)
treee270735c9eee8ed17a215d908fa4d37b1ff1c169 /camel/camel-multipart.c
parent8d959d83b20c4e4756bdadb1d379bd79495ee700 (diff)
downloadgsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.tar.gz
gsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.tar.zst
gsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.zip
include gmime-base64.h various compilation and runtime fixes.
2000-02-15 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-part.c: include gmime-base64.h various compilation and runtime fixes. (_set_input_stream): store the input substream for the content object. * camel/camel-data-wrapper.h: declare the set/get function on input/output stream. * camel/camel-mime-part.c (_get_content_object): don't use a temporary mem stream. * camel/camel-seekable-substream.c (_seek): (_eos): (_read): the substream can be unlimited in length * camel/camel-data-wrapper.c (camel_data_wrapper_class_init): set the get/set_input/output_stream methods. * camel/camel-multipart.c (_construct_from_stream): camel_stream_seek -> camel_seekable_stream_seek work on the new parser scheme. temporary sync to laptop. svn path=/trunk/; revision=1781
Diffstat (limited to 'camel/camel-multipart.c')
-rw-r--r--camel/camel-multipart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-multipart.c b/camel/camel-multipart.c
index b30f8590b0..44ae7dfbf6 100644
--- a/camel/camel-multipart.c
+++ b/camel/camel-multipart.c
@@ -487,7 +487,7 @@ _construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
body_part = camel_mime_body_part_new ();
end_of_multipart = _read_part ( new_part_stream, stream, real_boundary_line, end_boundary_line);
- camel_stream_seek (new_part_stream, 0, CAMEL_STREAM_SET);
+ camel_seekable_stream_seek (new_part_stream, 0, CAMEL_STREAM_SET);
camel_data_wrapper_construct_from_stream (CAMEL_DATA_WRAPPER (body_part), new_part_stream);
camel_multipart_add_part (multipart, body_part);
gtk_object_destroy (GTK_OBJECT (new_part_stream));