From 128d255031170115e4f2427294beff9ac1d04179 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 10 May 2000 20:14:12 +0000 Subject: fix a stupid typo. Thank you, C. * camel-multipart.c (write_to_stream): fix a stupid typo. Thank you, C. * camel-mime-part.c (write_to_stream): don't ref the stream before wrapper a filter around it, since nothing will ever unref it. svn path=/trunk/; revision=2978 --- camel/ChangeLog | 8 ++++++++ camel/camel-mime-part.c | 1 - camel/camel-multipart.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index f9190591b1..e7953e65a6 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,11 @@ +2000-05-10 Dan Winship + + * camel-multipart.c (write_to_stream): fix a stupid typo. Thank + you, C. + + * camel-mime-part.c (write_to_stream): don't ref the stream before + wrapper a filter around it, since nothing will ever unref it. + 2000-05-10 Christopher James Lahey * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index cd6362f8d3..279c1139de 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -530,7 +530,6 @@ write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream, break; } if (filter) { - gtk_object_ref((GtkObject *)stream); filter_stream = camel_stream_filter_new_with_stream(stream); camel_stream_filter_add(filter_stream, filter); stream = (CamelStream *)filter_stream; diff --git a/camel/camel-multipart.c b/camel/camel-multipart.c index 347eb3bdcc..8155ce1229 100644 --- a/camel/camel-multipart.c +++ b/camel/camel-multipart.c @@ -444,7 +444,7 @@ write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream, return -1; total += camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (node->data), stream, ex); - if (camel_exception_is_set (ex)); + if (camel_exception_is_set (ex)) return -1; node = node->next; } -- cgit