aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test2.c')
-rw-r--r--tests/test2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test2.c b/tests/test2.c
index 510c8304d6..d71e73e701 100644
--- a/tests/test2.c
+++ b/tests/test2.c
@@ -29,7 +29,7 @@ main (int argc, char**argv)
}
- camel_data_wrapper_set_input_stream ( CAMEL_DATA_WRAPPER (message), input_stream);
+ camel_data_wrapper_construct_from_stream ( CAMEL_DATA_WRAPPER (message), input_stream);
camel_medium_get_content_object (CAMEL_MEDIUM (message));