aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-simple-data-wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-simple-data-wrapper.c')
-rw-r--r--camel/camel-simple-data-wrapper.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/camel/camel-simple-data-wrapper.c b/camel/camel-simple-data-wrapper.c
index f06d4d3485..b0f4553360 100644
--- a/camel/camel-simple-data-wrapper.c
+++ b/camel/camel-simple-data-wrapper.c
@@ -140,13 +140,10 @@ my_write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
g_assert (stream);
array = simple_data_wrapper->byte_array;
- if ( array && array->len) {
- printf ("In simple data wrapper::write_to_stream, there is an array\n");
+ if ( array && array->len)
camel_stream_write (stream, (gchar *)array->data, array->len);
- } else {
- printf ("In simple data wrapper::write_to_stream, there is no array\n");
+ else
parent_class->write_to_stream (data_wrapper, stream);
- }
CAMEL_LOG_FULL_DEBUG ("CamelSimpleDataWrapper:: Leaving my_write_to_stream\n");
}