aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-02-16 18:44:35 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-16 18:44:35 +0800
commitf926f10e86aee8df632613d9c5b5022e6b8597ca (patch)
tree67361fd4b7f622fe6f660b47f65d65d4877259bd /tests
parent0dfd58ef202c72905903b9df0aec462ffbd7441d (diff)
downloadgsoc2013-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')
-rw-r--r--tests/test2.c9
-rw-r--r--tests/test9.c2
2 files changed, 6 insertions, 5 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));
diff --git a/tests/test9.c b/tests/test9.c
index 6776b0cc05..fa291b312a 100644
--- a/tests/test9.c
+++ b/tests/test9.c
@@ -11,7 +11,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
-#include <string.h>
+#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <glib.h>