Fix a bug that could cause a crash on messages with an empty subject.
* mail-format.c (write_text_header): Fix a bug that could cause a crash on messages with an empty subject. Oops. svn path=/trunk/; revision=10034
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2001-05-28 Dan Winship <danw@ximian.com>
|
||||
|
||||
* mail-format.c (write_text_header): Fix a bug that could cause a
|
||||
crash on messages with an empty subject. Oops.
|
||||
|
||||
2001-05-27 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* message-list.c: Removed the etable spec string.
|
||||
|
||||
@ -661,7 +661,7 @@ write_text_header (const char *name, const char *value, int flags, GtkHTML *html
|
||||
|
||||
mail_html_write (html, stream, "%s</td> </tr>", encoded);
|
||||
|
||||
if (value)
|
||||
if (value && *value)
|
||||
g_free (encoded);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user