diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-format.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 1d8b318c6b..58099ee09b 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2002-06-05 Jeffrey Stedfast <fejj@ximian.com> + + * mail-format.c (mail_get_message_rfc822): Don't forget to free + the date string buffer. + 2002-06-05 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (sig_fill_clist): use gtk string instead diff --git a/mail/mail-format.c b/mail/mail-format.c index 54c2df859a..c17e614636 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -2286,7 +2286,8 @@ mail_get_message_rfc822 (CamelMimeMessage *message, gboolean want_plain, gboolea html = e_text_to_html (buf, E_TEXT_TO_HTML_CONVERT_NL); g_string_sprintfa (retval, "%s<b>Date:</b> %s<br>", citation, html); g_free (html); - + g_free (buf); + if (!g_strncasecmp (text, "<pre>", 5)) g_string_sprintfa (retval, "%s<br>%s", citation, text + 5); else |