aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-05-11 04:14:12 +0800
committerDan Winship <danw@src.gnome.org>2000-05-11 04:14:12 +0800
commit128d255031170115e4f2427294beff9ac1d04179 (patch)
treebbcc7a8f37779340a4804ba596cd3137ca036066 /camel
parent497516ec005a8c27065e003093be6d18470fc58d (diff)
downloadgsoc2013-evolution-128d255031170115e4f2427294beff9ac1d04179.tar.gz
gsoc2013-evolution-128d255031170115e4f2427294beff9ac1d04179.tar.zst
gsoc2013-evolution-128d255031170115e4f2427294beff9ac1d04179.zip
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
Diffstat (limited to 'camel')
-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;
}