From b0b5049774292ef6ab53f20589305c1bc7481f60 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 27 Apr 2000 22:43:43 +0000 Subject: Revert previous change. I was confused. * camel-mime-part.c (write_to_stream): Revert previous change. I was confused. svn path=/trunk/; revision=2666 --- camel/camel-mime-part.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'camel/camel-mime-part.c') diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index 30c08a485f..6e2276df90 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -504,14 +504,11 @@ write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream) } } - content = camel_medium_get_content_object (medium); - - if (!CAMEL_IS_MEDIUM (content)) { - if ( (count = camel_stream_write_string(stream,"\n")) == -1) - return -1; - total += count; - } + if ( (count = camel_stream_write_string(stream,"\n")) == -1) + return -1; + total += count; + content = camel_medium_get_content_object (medium); if (content) { if ( (count = camel_data_wrapper_write_to_stream(content, stream)) == -1 ) return -1; -- cgit v1.2.3