diff options
author | Dan Winship <danw@src.gnome.org> | 2000-04-23 06:38:57 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-04-23 06:38:57 +0800 |
commit | 76160580a6429905edbbfbbd9902bd4fab3474b6 (patch) | |
tree | 1671fb7f83368d62d23443202161877e263d4a7d /mail | |
parent | 3063a29057032e8b4c2bbe43613b406f7122468d (diff) | |
download | gsoc2013-evolution-76160580a6429905edbbfbbd9902bd4fab3474b6.tar gsoc2013-evolution-76160580a6429905edbbfbbd9902bd4fab3474b6.tar.gz gsoc2013-evolution-76160580a6429905edbbfbbd9902bd4fab3474b6.tar.bz2 gsoc2013-evolution-76160580a6429905edbbfbbd9902bd4fab3474b6.tar.lz gsoc2013-evolution-76160580a6429905edbbfbbd9902bd4fab3474b6.tar.xz 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')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-display.c | 7 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index fa568e9591..34da182243 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2000-04-22 Dan Winship <danw@helixcode.com> + * mail-display.c (on_url_requested): Change cid expectations to + match current camel reality. + * main.c (main): call glade_gnome_init, for composer. * folder-browser-factory.c: move msg_composer_cb and 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; |