aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-09-24 12:09:10 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-09-24 12:09:10 +0800
commit6ce4413006e2ebd82c9e03d90bfa707c2ed371ee (patch)
treea88e8c57b21cf5469b1b610b1a670d73d989d02b /mail/em-format.c
parent71dab312c14e17ea8c9125b56a82db016fff527c (diff)
downloadgsoc2013-evolution-6ce4413006e2ebd82c9e03d90bfa707c2ed371ee.tar.gz
gsoc2013-evolution-6ce4413006e2ebd82c9e03d90bfa707c2ed371ee.tar.zst
gsoc2013-evolution-6ce4413006e2ebd82c9e03d90bfa707c2ed371ee.zip
** See bug #65058 (again again).
2004-09-23 Not Zed <NotZed@Ximian.com> ** See bug #65058 (again again). * em-format-html.c (efh_text_html): calculate our location uri ourselves (content id). * em-format.c (em_format_add_puri): if we have no content-location key, don't fallback to any container's location. svn path=/trunk/; revision=27356
Diffstat (limited to 'mail/em-format.c')
-rw-r--r--mail/em-format.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/em-format.c b/mail/em-format.c
index 39b039e2b6..df5ca50e65 100644
--- a/mail/em-format.c
+++ b/mail/em-format.c
@@ -354,8 +354,7 @@ em_format_add_puri(EMFormat *emf, size_t size, const char *cid, CamelMimePart *p
tmp = camel_mime_part_get_content_location(part);
puri->uri = NULL;
if (tmp == NULL) {
- if (emf->base)
- puri->uri = camel_url_to_string(emf->base, 0);
+ /* no location, don't set a uri at all, html parts do this themselves */
} else {
if (strchr(tmp, ':') == NULL && emf->base != NULL) {
CamelURL *uri;