From 34225b40c48c083aeada8d0302ef6e3150bd6035 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Mon, 10 Jan 2005 19:42:23 +0000 Subject: *** empty log message *** svn path=/trunk/; revision=28336 --- plugins/itip-formatter/itip-formatter.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 643628cac1..635f2578de 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -704,6 +704,9 @@ update_item (FormatItipPObject *pitip, ItipViewResponse response) GSList *attachments = NULL, *new_attachments = NULL, *l; CamelMimeMessage *msg = ((EMFormat *) pitip->pobject.format)->message; + e_cal_component_get_attachment_list (clone_comp, &attachments); + g_message ("Number of attachments is %d", g_list_length (attachments)); + for (l = attachments; l; l = l->next) { GSList *parts = NULL, *m; char *uri, *new_uri; @@ -711,7 +714,7 @@ update_item (FormatItipPObject *pitip, ItipViewResponse response) uri = l->data; - if (!g_ascii_strncasecmp (uri, "cid:...", 4)) { + if (!g_ascii_strncasecmp (uri, "cid:...", 7)) { message_foreach_part ((CamelMimePart *) msg, &parts); for (m = parts; m; m = m->next) { -- cgit