diff options
author | bertrand <bertrand@helixcode.com> | 2000-02-16 18:44:35 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-02-16 18:44:35 +0800 |
commit | f926f10e86aee8df632613d9c5b5022e6b8597ca (patch) | |
tree | 67361fd4b7f622fe6f660b47f65d65d4877259bd /tests/test2.c | |
parent | 0dfd58ef202c72905903b9df0aec462ffbd7441d (diff) | |
download | gsoc2013-evolution-f926f10e86aee8df632613d9c5b5022e6b8597ca.tar gsoc2013-evolution-f926f10e86aee8df632613d9c5b5022e6b8597ca.tar.gz gsoc2013-evolution-f926f10e86aee8df632613d9c5b5022e6b8597ca.tar.bz2 gsoc2013-evolution-f926f10e86aee8df632613d9c5b5022e6b8597ca.tar.lz gsoc2013-evolution-f926f10e86aee8df632613d9c5b5022e6b8597ca.tar.xz gsoc2013-evolution-f926f10e86aee8df632613d9c5b5022e6b8597ca.tar.zst gsoc2013-evolution-f926f10e86aee8df632613d9c5b5022e6b8597ca.zip |
this routine replaces the _read_part routine and does not store the part
2000-02-15 bertrand <bertrand@helixcode.com>
* camel/camel-multipart.c (_localize_part):
this routine replaces the _read_part routine
and does not store the part in a buffer.
(_set_input_stream): use the set_input_stream
instead of the construct_from_stream.
each bodypart is given an input stream.
* camel/camel-mime-part-utils.c:
include the data-wrapper-repository header.
(camel_mime_part_construct_content_from_stream):
use the set_input_stream instead of the
construct_from_stream method.
* camel/camel-seekable-substream.c (_set_bounds):
cur position is set to 0 not to inf_bound.
Sync
svn path=/trunk/; revision=1790
Diffstat (limited to 'tests/test2.c')
-rw-r--r-- | tests/test2.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test2.c b/tests/test2.c index 7b69a71fd8..17fd4ffc9a 100644 --- a/tests/test2.c +++ b/tests/test2.c @@ -29,14 +29,15 @@ main (int argc, char**argv) printf ("You must create the file mail.test before running this test\n"); exit(2); } - - camel_data_wrapper_set_input_stream ( CAMEL_DATA_WRAPPER (message), input_stream); -#if 0 - camel_data_wrapper_construct_from_stream ( CAMEL_DATA_WRAPPER (message), input_stream); camel_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG; + + camel_data_wrapper_set_input_stream ( CAMEL_DATA_WRAPPER (message), input_stream); + camel_medium_get_content_object (CAMEL_MEDIUM (message)); + +#if 0 camel_stream_close (input_stream); gtk_object_unref (GTK_OBJECT (input_stream)); |