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.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/camel/camel-simple-data-wrapper.c b/camel/camel-simple-data-wrapper.c
index 2b603d5ef3..8e8ac018fc 100644
--- a/camel/camel-simple-data-wrapper.c
+++ b/camel/camel-simple-data-wrapper.c
@@ -140,11 +140,13 @@ my_write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
g_assert (stream);
array = simple_data_wrapper->byte_array;
- if ( array && array->len)
+ if ( array && array->len) {
+ printf ("In simple data wrapper::write_to_stream, there is an array\n");
camel_stream_write (stream, (gchar *)array->data, array->len);
- else
+ } else {
+ printf ("In simple data wrapper::write_to_stream, there is no array\n");
parent_class->write_to_stream (data_wrapper, stream);
-
+ }
CAMEL_LOG_FULL_DEBUG ("CamelSimpleDataWrapper:: Leaving my_write_to_stream\n");
}