aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-display.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-04-14 17:48:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-04-14 17:48:36 +0800
commit3cf228772512334661adb91a1a709b6a2962651f (patch)
treee57909f205923166b53c838112b31c504736f1e1 /mail/em-format-html-display.c
parente042b373fb825a11814f9b7b4db50309951f8bc6 (diff)
downloadgsoc2013-evolution-3cf228772512334661adb91a1a709b6a2962651f.tar
gsoc2013-evolution-3cf228772512334661adb91a1a709b6a2962651f.tar.gz
gsoc2013-evolution-3cf228772512334661adb91a1a709b6a2962651f.tar.bz2
gsoc2013-evolution-3cf228772512334661adb91a1a709b6a2962651f.tar.lz
gsoc2013-evolution-3cf228772512334661adb91a1a709b6a2962651f.tar.xz
gsoc2013-evolution-3cf228772512334661adb91a1a709b6a2962651f.tar.zst
gsoc2013-evolution-3cf228772512334661adb91a1a709b6a2962651f.zip
remove debug comment.
2004-04-14 Not Zed <NotZed@Ximian.com> * mail-component.c (impl_createControls): remove debug comment. ** See #56641. * em-format-html-display.c (efhd_format_secure): fix a small memleak. (efhd_bonobo_unknown, efhd_format_attachment): close the <object> tag properly, and <br> it as well to make sure its separated. * em-sync-stream.c: add some runtime and compile time stream logging stuff. svn path=/trunk/; revision=25457
Diffstat (limited to 'mail/em-format-html-display.c')
-rw-r--r--mail/em-format-html-display.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index e57d7505bd..8f03c1bd89 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -884,7 +884,7 @@ efhd_format_secure(EMFormat *emf, CamelStream *stream, CamelMimePart *part, Came
pobj->valid = camel_cipher_validity_clone(valid);
pobj->object.free = efhd_xpkcs7mime_free;
camel_stream_printf(stream, "<td valign=top><object classid=\"%s\"></object></td><td width=100%% valign=top>", classid);
-
+ g_free(classid);
if (valid->sign.status != CAMEL_CIPHER_VALIDITY_SIGN_NONE) {
camel_stream_printf(stream, "%s<br>", _(smime_sign_table[valid->sign.status].shortdesc));
}
@@ -920,7 +920,7 @@ efhd_bonobo_unknown(EMFormat *emf, CamelStream *stream, CamelMimePart *part, con
classid = g_strdup_printf("bonobo-unknown:///em-format-html-display/%s", emf->part_id->str);
em_format_html_add_pobject((EMFormatHTML *)emf, sizeof(EMFormatHTMLPObject), classid, part, efhd_bonobo_object);
- camel_stream_printf(stream, "<object classid=\"%s\" type=\"%s\">\n", classid, info->mime_type);
+ camel_stream_printf(stream, "<object classid=\"%s\" type=\"%s\"></object><br>\n", classid, info->mime_type);
g_free(classid);
}
@@ -1531,7 +1531,7 @@ efhd_format_attachment(EMFormat *emf, CamelStream *stream, CamelMimePart *part,
classid = g_strdup_printf("bonobo-unknown:///em-format-html-display/%s", emf->part_id->str);
em_format_html_add_pobject((EMFormatHTML *)emf, sizeof(EMFormatHTMLPObject), classid, part, efhd_bonobo_object);
- camel_stream_printf(stream, "<object classid=\"%s\" type=\"%s\">\n", classid, mime_type);
+ camel_stream_printf(stream, "<object classid=\"%s\" type=\"%s\"></object><br>>\n", classid, mime_type);
}
g_free(classid);