diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-25 09:09:02 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-25 09:09:02 +0800 |
commit | 9522b556a238d03c4cca6bb77c3736e4b4a5b9d3 (patch) | |
tree | c7d12a40dc5c101f71da88c39de28196d11bda9d /mail/mail-format.c | |
parent | e877791d816307b359d73732345f0e2164c49f4a (diff) | |
download | gsoc2013-evolution-9522b556a238d03c4cca6bb77c3736e4b4a5b9d3.tar.gz gsoc2013-evolution-9522b556a238d03c4cca6bb77c3736e4b4a5b9d3.tar.zst gsoc2013-evolution-9522b556a238d03c4cca6bb77c3736e4b4a5b9d3.zip |
oops, minor fixity fix.
svn path=/trunk/; revision=14082
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r-- | mail/mail-format.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c index 9b9dffb4fa..5918c7ad6b 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -2269,9 +2269,12 @@ mail_get_message_body (CamelDataWrapper *data, gboolean want_plain, gboolean cit if (header_content_type_is (mime_type, "text", "*") || header_content_type_is (mime_type, "message", "*")) { bytes = mail_format_get_data_wrapper_text (data, NULL); - g_byte_array_append (bytes, "", 1); - text = bytes->data; - g_byte_array_free (bytes, FALSE); + + if (bytes) { + g_byte_array_append (bytes, "", 1); + text = bytes->data; + g_byte_array_free (bytes, FALSE); + } if (text && !header_content_type_is (mime_type, "text", "html")) { char *html; |