aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-23 06:38:57 +0800
committerDan Winship <danw@src.gnome.org>2000-04-23 06:38:57 +0800
commit76160580a6429905edbbfbbd9902bd4fab3474b6 (patch)
tree1671fb7f83368d62d23443202161877e263d4a7d /mail/mail-display.c
parent3063a29057032e8b4c2bbe43613b406f7122468d (diff)
downloadgsoc2013-evolution-76160580a6429905edbbfbbd9902bd4fab3474b6.tar.gz
gsoc2013-evolution-76160580a6429905edbbfbbd9902bd4fab3474b6.tar.zst
gsoc2013-evolution-76160580a6429905edbbfbbd9902bd4fab3474b6.zip
Change cid expectations to match current camel reality.
* mail-display.c (on_url_requested): Change cid expectations to match current camel reality. svn path=/trunk/; revision=2558
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 289b132a2a..e0eb584a17 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -258,7 +258,7 @@ static void
on_url_requested (GtkHTML *html, const char *url, GtkHTMLStreamHandle handle,
gpointer user_data)
{
- char *cid, buf[1024];
+ char buf[1024];
int nread;
CamelMimePart *part;
CamelDataWrapper *data;
@@ -270,10 +270,7 @@ on_url_requested (GtkHTML *html, const char *url, GtkHTMLStreamHandle handle,
part = gtk_object_get_data (GTK_OBJECT (html), "message");
g_return_if_fail (part != NULL);
- cid = g_strdup_printf ("<%s>", url + 4);
- part = find_cid (cid, part);
- g_free (cid);
-
+ part = find_cid (url + 4, part);
if (!part)
return;