aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog8
-rw-r--r--camel/camel-mime-part.c1
-rw-r--r--camel/camel-multipart.c2
3 files changed, 9 insertions, 2 deletions
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 <danw@helixcode.com>
+
+ * 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 <clahey@helixcode.com>
* 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;
}