aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-simple-data-wrapper.c
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-03-05 06:23:06 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-05 06:23:06 +0800
commit8eb9e1f40b5d8e058f985659bea0a914b383710c (patch)
tree1e6a07601b3a85d77906bb664cdd2e5a55ca9837 /camel/camel-simple-data-wrapper.c
parent6500f641816afdb3aaa7cc27f186500f4c0d7d8b (diff)
downloadgsoc2013-evolution-8eb9e1f40b5d8e058f985659bea0a914b383710c.tar
gsoc2013-evolution-8eb9e1f40b5d8e058f985659bea0a914b383710c.tar.gz
gsoc2013-evolution-8eb9e1f40b5d8e058f985659bea0a914b383710c.tar.bz2
gsoc2013-evolution-8eb9e1f40b5d8e058f985659bea0a914b383710c.tar.lz
gsoc2013-evolution-8eb9e1f40b5d8e058f985659bea0a914b383710c.tar.xz
gsoc2013-evolution-8eb9e1f40b5d8e058f985659bea0a914b383710c.tar.zst
gsoc2013-evolution-8eb9e1f40b5d8e058f985659bea0a914b383710c.zip
stream the raw content instead of nothing if the encoding is not
2000-03-04 bertrand <bertrand@helixcode.com> * camel-mime-part.c (my_write_content_to_stream): stream the raw content instead of nothing if the encoding is not supported. * camel-stream-fs.c (_seek): handle eos more properly. svn path=/trunk/; revision=2047
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");
}