diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test2.c | 9 | ||||
-rw-r--r-- | tests/test9.c | 2 |
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> |