aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/camel-mime-part-utils.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index ccca37a671..52a2cce9f2 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,8 @@
2000-04-24 Dan Winship <danw@helixcode.com>
+ * camel-mime-part-utils.c
+ (simple_data_wrapper_construct_from_parser): fix a cut-and-pasto.
+
* providers/mbox/camel-mbox-folder.c (_get_message_by_uid): ref
(and sink) the message stream if we're going to unref it later.
Otherwise it could get destroyed while there are still substreams
diff --git a/camel/camel-mime-part-utils.c b/camel/camel-mime-part-utils.c
index 50e9fd29d5..82cff22f5a 100644
--- a/camel/camel-mime-part-utils.c
+++ b/camel/camel-mime-part-utils.c
@@ -141,7 +141,7 @@ simple_data_wrapper_construct_from_parser(CamelDataWrapper *dw, CamelMimeParser
camel_stream_filter_add(filter, fdec);
}
if (fch) {
- camel_mime_filter_reset(fdec);
+ camel_mime_filter_reset(fch);
camel_stream_filter_add(filter, fch);
}
camel_data_wrapper_set_output_stream (dw, (CamelStream *)filter);