diff options
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)); |