aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c2
1 files changed, 1 insertions, 1 deletions
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");