aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-11-02 11:36:48 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-11-02 11:36:48 +0800
commit6db2305b3345ebb436c81bda685ccf1cb8bcbfa7 (patch)
treee1abcc38d5d1e928d4292424fc6a1b6b0843b006 /mail/mail-format.c
parentf351369e5127337eb95185ac764b6744faf4b87f (diff)
downloadgsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.tar
gsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.tar.gz
gsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.tar.bz2
gsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.tar.lz
gsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.tar.xz
gsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.tar.zst
gsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.zip
** Merged in camel-incremental-branch.
2000-11-02 Not Zed <NotZed@HelixCode.com> ** Merged in camel-incremental-branch. * mail-format.c (mail_get_message_body): Jeff! Sigh. We should definetly not be strduping the content, it has already been copied and duplicated. Look at get_data_wrapper_text. svn path=/trunk/; revision=6337
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index edf64be621..a7e46f272f 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1550,13 +1550,12 @@ mail_get_message_body (CamelDataWrapper *data, gboolean want_plain, gboolean *is
*/
if (g_strcasecmp (mime_type->type, "message") == 0) {
*is_html = FALSE;
- return g_strdup (get_data_wrapper_text (data));
+ return get_data_wrapper_text (data);
}
if (g_strcasecmp (mime_type->type, "text") == 0) {
- fprintf (stderr, "here we are...\n");
*is_html = !g_strcasecmp (mime_type->subtype, "html");
- return g_strdup (get_data_wrapper_text (data));
+ return get_data_wrapper_text (data);
}
/* If it's not message and it's not text, and it's not