aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-03-04 23:19:16 +0800
committerDan Winship <danw@src.gnome.org>2002-03-04 23:19:16 +0800
commit0cb5b63f1a4088fdd644c68962e3b35dbc9cf9f6 (patch)
tree4463ebf952afb3a2f997a3a352b756c5fae02143
parentf6d9c97116019db2a5c1474dbe5b17b912e8e561 (diff)
downloadgsoc2013-evolution-0cb5b63f1a4088fdd644c68962e3b35dbc9cf9f6.tar
gsoc2013-evolution-0cb5b63f1a4088fdd644c68962e3b35dbc9cf9f6.tar.gz
gsoc2013-evolution-0cb5b63f1a4088fdd644c68962e3b35dbc9cf9f6.tar.bz2
gsoc2013-evolution-0cb5b63f1a4088fdd644c68962e3b35dbc9cf9f6.tar.lz
gsoc2013-evolution-0cb5b63f1a4088fdd644c68962e3b35dbc9cf9f6.tar.xz
gsoc2013-evolution-0cb5b63f1a4088fdd644c68962e3b35dbc9cf9f6.tar.zst
gsoc2013-evolution-0cb5b63f1a4088fdd644c68962e3b35dbc9cf9f6.zip
[pullup from evolution-1-0-branch]
* e-msg-composer.c (build_message): Fix a dumb bug in previous commit that broke iMIP containing 8-bit data. svn path=/trunk/; revision=15895
-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");