aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 56d6a60b79..c46a7b5fa9 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-04 Dan Winship <danw@ximian.com>
+
+ * e-msg-composer.c (build_message): Fix a dumb bug in previous
+ commit that broke iMIP containing 8-bit data.
+
2002-02-25 Dan Winship <danw@ximian.com>
Mailer side of 14705.
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 5a40fd0f27..d939a7592e 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -345,7 +345,7 @@ build_message (EMsgComposer *composer)
}
}
data = g_byte_array_new ();
- g_byte_array_append (data, composer->mime_body, i);
+ g_byte_array_append (data, composer->mime_body, strlen (composer->mime_body));
type = header_content_type_decode (composer->mime_type);
} else {
data = get_text (composer->persist_stream_interface, "text/plain");